Message167314
| 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. |
|