[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

Josh Triplett report at bugs.python.org
Tue May 31 17:23:12 CEST 2011


Josh Triplett <josh at joshtriplett.org> added the comment:

Rather than checking for a directory, how about just opening foo/__init__.py, and if that fails opening foo.py?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12082>
_______________________________________


More information about the Python-bugs-list mailing list