Mercurial > cpython-lru_cache-weakref
diff 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 |
