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 martin.panter
Recipients benhoyt, gvanrossum, larry, martin.panter, python-dev, serhiy.storchaka, vstinner
Date 2016-02-24.10:40:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The change seems to be causing some Windows buildbot failures <>:

ERROR: test_walk_bad_dir (test.test_os.BytesWalkTests)
Traceback (most recent call last):
  File "C:\\3.5.kloth-win64\build\lib\test\", line 931, in test_walk_bad_dir
    root, dirs, files = next(walk_it)
  File "C:\\3.5.kloth-win64\build\lib\test\", line 1027, in walk
    for broot, bdirs, bfiles in os.walk(os.fsencode(top), **kwargs):
  File "C:\\3.5.kloth-win64\build\lib\", line 372, in walk
    entries = list(scandir(top))
TypeError: os.scandir() doesn't support bytes path on Windows, use Unicode instead

ERROR: test_walk_bottom_up (test.test_os.BytesWalkTests)
ERROR: test_walk_prune (test.test_os.BytesWalkTests)

Was this line

entries = list(scandir(top))

meant to be

entries = list(scandir_it)
Date User Action Args
2016-02-24 10:40:27martin.pantersetrecipients: + martin.panter, gvanrossum, vstinner, larry, benhoyt, python-dev, serhiy.storchaka
2016-02-24 10:40:27martin.pantersetmessageid: <>
2016-02-24 10:40:27martin.panterlinkissue25995 messages
2016-02-24 10:40:26martin.pantercreate