Antoine Pitrou <[email protected]> added the comment:
Exceptions seem to be raised (for code that can be exercised in Python), but
not very obvious ones:
>>> eval("x", {}, [])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 1, in <module>
TypeError: list indices must be integers, not str
$ ./python -c "import os; os.execle('/bin/ls', 'ls', [])"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/antoine/py3k/__svn__/Lib/os.py", line 320, in execle
execve(file, args[:-1], env)
AttributeError: values
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5945>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com