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 theller
Recipients amaury.forgeotdarc, arigo, fijal, loewis, theller
Date 2008-05-23.13:42:29
SpamBayes Score 0.0409946
Marked as misclassified No
Message-id <4836C9CB.2080309@ctypes.org>
In-reply-to <1211546536.76.0.29325537863.issue1798@psf.upfronthosting.co.za>
Content
But would it hurt to set errno to zero before *any* function call?

My experiments show that it is faster to clear errno always
instead of trying to get a previously set value from tls storage in a
ctypes-global object created by calling "threading.local()".
History
Date User Action Args
2008-05-23 13:42:31thellersetspambayes_score: 0.0409946 -> 0.0409946
recipients: + theller, loewis, arigo, amaury.forgeotdarc, fijal
2008-05-23 13:42:30thellerlinkissue1798 messages
2008-05-23 13:42:29thellercreate