This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jkloth
Recipients jkloth, r.david.murray, serhiy.storchaka, techtonik
Date 2012-12-10.12:34:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
The problem exhibited is not coming from the os.walk() implementation, but from the use of a byte-string as the argument to it.

The directories are created with unicode literals and therefore the argument must also be a unicode literal (u'.') for them to be shown.  See the note in the listdir() documentation.

As it stands, I suggest that this is closed as invalid, or at the minimum that it could be a documentation bug for walk() not also having a similar note as listdir().
History
Date User Action Args
2012-12-10 12:34:55jklothsetrecipients: + jkloth, techtonik, r.david.murray, serhiy.storchaka
2012-12-10 12:34:55jklothsetmessageid: <[email protected]>
2012-12-10 12:34:55jklothlinkissue16656 messages
2012-12-10 12:34:54jklothcreate