diff Python/import.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 8142f8d668a0
children cf5928fab108
line wrap: on
line diff