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 vstinner
Recipients ezio.melotti, flox, ishimoto, loewis, tim.golden, vstinner
Date 2012-08-03.12:19:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343996399.2.0.254667747311.issue15478@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch modifies all functions of the os module taking filenames to keep the filename unmodified in OSError.filename.

The patch changes also os.link(), os.rename() and os.replace() to use the source, not the destination, in the error message. It is maybe a mistake because these functions can also fail in the directory of the destination does not exist.
History
Date User Action Args
2012-08-03 12:19:59vstinnersetrecipients: + vstinner, loewis, ishimoto, tim.golden, ezio.melotti, flox
2012-08-03 12:19:59vstinnersetmessageid: <1343996399.2.0.254667747311.issue15478@psf.upfronthosting.co.za>
2012-08-03 12:19:58vstinnerlinkissue15478 messages
2012-08-03 12:19:53vstinnercreate