Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, theller
Date 2008-01-11.21:27:51
SpamBayes Score 0.0735408
Marked as misclassified No
Message-id <1200086872.52.0.872764863612.issue1798@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1200086872.52.0.872764863612.issue1798@psf.upfronthosting.co.za>
2008-01-11 21:27:51amaury.forgeotdarclinkissue1798 messages
2008-01-11 21:27:51amaury.forgeotdarccreate