[pypy-issue] [issue1385] nt._isdir is not implemented

Amaury Forgeot d Arc tracker at bugs.pypy.org
Mon Feb 4 11:33:05 CET 2013

Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

>>> import nt
>>> nt._isdir('c:\\test')

'nt' is the win32 name of the 'posix' module...

nt._isdir() is supposed to be faster than genericpath.isdir(), because os.stat does multiple system 
calls on Windows.
It was added in 2.7.3: http://bugs.python.org/issue11583

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list