]> granicus.if.org Git - python/commit
Reset errno to zero after calling PyErr_Warn(). It can potentially do
authorGuido van Rossum <guido@python.org>
Sun, 11 Aug 2002 14:06:15 +0000 (14:06 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 11 Aug 2002 14:06:15 +0000 (14:06 +0000)
commit3cb8e54da0a3fddd4841ecdbc6a7a79798fcbacd
treebc4389e9881be57deb3c50f2b2a923b6ca9208a3
parent643d59cbd6f86516b083b958d76750b3626da3d6
Reset errno to zero after calling PyErr_Warn().  It can potentially do
a lot of work, including I/O (e.g. to import warnings.py), which might
affect errno.
Python/compile.c