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 serhiy.storchaka
Recipients flox, georg.brandl, ncoghlan, serhiy.storchaka
Date 2013-02-09.14:45:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360421119.33.0.506683731542.issue17169@psf.upfronthosting.co.za>
In-reply-to
Content
Before 3.3 if not able to create the name of the temporary file then an OSError with meaninful errno (ENOENT or EEXIST) was raised. Now subclass of OSError raised with errno=None. This is an incompatible change because old user code can catch OSError exception and then test its errno.

Here is a patch which restores errno attribute in these exceptions.
History
Date User Action Args
2013-02-09 14:45:19serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, ncoghlan, flox
2013-02-09 14:45:19serhiy.storchakasetmessageid: <1360421119.33.0.506683731542.issue17169@psf.upfronthosting.co.za>
2013-02-09 14:45:19serhiy.storchakalinkissue17169 messages
2013-02-09 14:45:19serhiy.storchakacreate