This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients amaury.forgeotdarc, giltay, loewis
Date 2008-09-25.20:33:59
SpamBayes Score 3.2515928e-08
Marked as misclassified No
Message-id <1222374840.49.0.536663656236.issue3965@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-09-25 20:34:00loewissetrecipients: + loewis, amaury.forgeotdarc, giltay
2008-09-25 20:34:00loewissetmessageid: <1222374840.49.0.536663656236.issue3965@psf.upfronthosting.co.za>
2008-09-25 20:33:59loewislinkissue3965 messages
2008-09-25 20:33:59loewiscreate