[Python-Dev] Include ctypes into core Python? (original) (raw)

Ronald Oussoren ronaldoussoren at mac.com
Wed Jan 11 07:45:03 CET 2006


On 11-jan-2006, at 0:57, Josiah Carlson wrote:

On a platform which doesn't see the current path as a readable file, you get "Access is denied." on the redirection attempt.

On my osx box using python 2.4.2:

$ cat < . cat: stdin: Is a directory

$ python < . Bus error

And finally: $ python -c 'execfile(".")' Traceback (most recent call last): File "", line 1, in ? IOError: [Errno 21] Is a directory: '.'

It seems there is a bug somewhere. Annoyingly 'gdb -tty=. python'
doesn't crash.

Ronald

As always, I'm sure that reasonable patches which work around such segfaulting cases will be acceptable, though remember that it may not be clear how to work around them.

- Josiah


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/ ronaldoussoren%40mac.com



More information about the Python-Dev mailing list