diff Python/errors.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 3db261a93a5b
children 861065256487
line wrap: on
line diff