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 steve.dower
Recipients larry, python-dev, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-03-08.02:15:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425780923.1.0.240064681766.issue23524@psf.upfronthosting.co.za>
In-reply-to
Content
This is because of the _Py_fstat change to use errno instead of GetLastError. It seems other callers are relying on GetLastError to raise the correct exception, and that seems to be the standard throughout posixmodule as far as stat calls are concerned.

Best immediate fix is to revert back to how _Py_fstat was originally and update the caller's error handling, which I'll do now. Feel free to propose a more thorough patch that will unify error number handling, but I don't think it's a such a big problem.
History
Date User Action Args
2015-03-08 02:15:23steve.dowersetrecipients: + steve.dower, vstinner, larry, tim.golden, python-dev, zach.ware, serhiy.storchaka
2015-03-08 02:15:23steve.dowersetmessageid: <1425780923.1.0.240064681766.issue23524@psf.upfronthosting.co.za>
2015-03-08 02:15:23steve.dowerlinkissue23524 messages
2015-03-08 02:15:22steve.dowercreate