[Python-checkins] r45259 - in python/trunk: Misc/NEWS Modules/posixmodule.c

"Martin v. Löwis" martin at v.loewis.de
Tue Apr 11 09:35:13 CEST 2006


Georg Brandl wrote:
> Does r45262 suffice? It sets errno = 0 before invoking opendir().

In the current code, yes. If there where any further C library calls
that could set errno and not cause a Python exception, then errno
would need to be cleared immediately before each readdir call.

Regards,
Martin


More information about the Python-checkins mailing list