comparison Python/getversion.c @ 24739:eec6832818a3 legacy-trunk

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.
author Guido van Rossum <guido@python.org>
date Sun, 11 Aug 2002 14:06:15 +0000
parents 379fc66f4c96
children 9f2fbee420da
comparison
equal deleted inserted replaced
24738:565609bb8d89 24739:eec6832818a3