diff Python/exceptions.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 36e2fd3f08f7
children 31d2860089e6
line wrap: on
line diff