[issue1798] Add ctypes calling convention that allows safe access of errno
Maciek Fijalkowski
report at bugs.python.org
Fri May 23 16:52:50 CEST 2008
Maciek Fijalkowski <fijal at genesilico.pl> added the comment:
On the one hand, no it does not hurt when we're resetting errno before
any call. On the other hand if we try hard "to be like C", it's a bit
strange that we always reset errno (which is on the other hand very good
practice anyway).
IMO it's fine to reset errno before any call, until someone can find
example where it's not good.
Cheers,
fijal
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1798>
__________________________________
More information about the Python-bugs-list
mailing list