[issue2158] confusing exception when opening a filename with nonprintable characters

2008-02-21 Thread Geoffrey Irving
Geoffrey Irving added the comment: It works fine for me on Linux as well, and on FreeBSD. I expect it's a mac specific bug. Geoffrey On Thu, Feb 21, 2008 at 12:00 PM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Christian Heimes added the comment: > > I've tried th

[issue2158] confusing exception when opening a filename with nonprintable characters

2008-02-21 Thread Geoffrey Irving
New submission from Geoffrey Irving: On Mac OS X with python 2.5.1, I get >>> open(chr(212),'w') Traceback (most recent call last): File "", line 1, in IOError: invalid mode: w The error should be more like "filename contains nonprinta