Martin v. Löwis <[EMAIL PROTECTED]> added the comment:

I think it is somewhat surprising that the file name shows up at the end
in the traceback. Instead of getting

IOError: [Errno 22] invalid filename or mode 'w': '/dos/foo\n'

it might be better if it said

IOError: [Errno 22] invalid mode ('w') or filename: '/dos/foo\n'

Otherwise, the patch looks fine.

----------
assignee:  -> amaury.forgeotdarc
nosy: +loewis
resolution:  -> accepted

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3965>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to