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 "<string>", 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@python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ 
> ronaldoussoren%40mac.com

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to