[issue18810] Stop doing stat calls in importlib.machinery.FileFinder to see if something is a file or folder

Brett Cannon report at bugs.python.org
Sat Oct 19 15:59:48 CEST 2013


Brett Cannon added the comment:

Nick pointed out that the change to FileFinder is possibly going to break subclasses since the os module code doesn't treat '' as the cwd (which is unfortunate) and so people may have been relying on that never being the case. Really shouldn't matter all that much to the typical import though since PathFinder will still pass the full directory down to FileFinder.

----------

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


More information about the Python-bugs-list mailing list