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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, theller
Date 2008-01-11.21:27:51
SpamBayes Score 0.0735408
Marked as misclassified No
Message-id <>
I like this way to tell that a function modifies errno or GetLastError.

But this thread-local attribute on the function seems bizarre to me.
I would prefer another way to get the errno. I can see two alternatives:
- the function returns a tuple (normalresult, errno) on each call.
- when errno is not zero, EnvironmentError (or WindowsError) is raised.
Date User Action Args
2008-01-11 21:27:52amaury.forgeotdarcsetspambayes_score: 0.0735408 -> 0.0735408
recipients: + amaury.forgeotdarc, theller
2008-01-11 21:27:52amaury.forgeotdarcsetspambayes_score: 0.0735408 -> 0.0735408
messageid: <>
2008-01-11 21:27:51amaury.forgeotdarclinkissue1798 messages
2008-01-11 21:27:51amaury.forgeotdarccreate