Message237499
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:23 | steve.dower | set | recipients:
+ steve.dower, vstinner, larry, tim.golden, python-dev, zach.ware, serhiy.storchaka |
2015-03-08 02:15:23 | steve.dower | set | messageid: <1425780923.1.0.240064681766.issue23524@psf.upfronthosting.co.za> |
2015-03-08 02:15:23 | steve.dower | link | issue23524 messages |
2015-03-08 02:15:22 | steve.dower | create | |
|