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 <>
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.
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: <>
2015-03-08 02:15:23steve.dowerlinkissue23524 messages
2015-03-08 02:15:22steve.dowercreate