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 <1456310427.39.0.650140127903.issue25995@psf.upfronthosting.co.za>
In-reply-to
Content
The change seems to be causing some Windows buildbot failures <http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.5/builds/666/steps/test/logs/stdio>:

======================================================================
ERROR: test_walk_bad_dir (test.test_os.BytesWalkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\buildbot.python.org\3.5.kloth-win64\build\lib\test\test_os.py", line 931, in test_walk_bad_dir
    root, dirs, files = next(walk_it)
  File "C:\buildbot.python.org\3.5.kloth-win64\build\lib\test\test_os.py", line 1027, in walk
    for broot, bdirs, bfiles in os.walk(os.fsencode(top), **kwargs):
  File "C:\buildbot.python.org\3.5.kloth-win64\build\lib\os.py", 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)
History
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: <1456310427.39.0.650140127903.issue25995@psf.upfronthosting.co.za>
2016-02-24 10:40:27martin.panterlinkissue25995 messages
2016-02-24 10:40:26martin.pantercreate