Brett Cannon added the comment:
Everything is working as expected; you left out the path argument::
This works the way it does because otherwise we would have to stat every single
time from the top level on down and that is extremely costly.
resolution: -> invalid
status: open -> closed
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list