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 eric.araujo
Recipients eric.araujo, michael.foord, tarek
Date 2010-08-14.05:36:33
SpamBayes Score 0.0034878321
Marked as misclassified No
Message-id <1281764195.35.0.91056307817.issue7219@psf.upfronthosting.co.za>
In-reply-to
Content
An IOError is raised but file_util._copy_file_contents only produces the helpful message “could not create '<file>': <error>” when catching os.error.

Catching both classes is easy. We’d need a regression test first, and before that, agreement from Tarek that such a change would be okay.

I wonder what is this mysterious None that we get as a result.
History
Date User Action Args
2010-08-14 05:36:35eric.araujosetrecipients: + eric.araujo, tarek, michael.foord
2010-08-14 05:36:35eric.araujosetmessageid: <1281764195.35.0.91056307817.issue7219@psf.upfronthosting.co.za>
2010-08-14 05:36:33eric.araujolinkissue7219 messages
2010-08-14 05:36:33eric.araujocreate