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 "<stdin>", line 1, in <module> IOError: invalid mode: w The error should be more like "filename contains nonprintable characters." Thanks, Geoffrey ---------- components: Macintosh messages: 62644 nosy: irving severity: normal status: open title: confusing exception when opening a filename with nonprintable characters type: behavior versions: Python 2.5 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2158> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
