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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, jkloth, r.david.murray, serhiy.storchaka, techtonik
Date 2012-12-12.12:28:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355315300.92.0.186077041426.issue16656@psf.upfronthosting.co.za>
In-reply-to
Content
So, it seems that os.walk() and os.listdir() work correctly with Python3.3, but print(u'Русское имя') fails because the terminal encoding is cp437.

See issue1602 for the print issue.
As a quick workaround, try to set PYTHONIOENCODING=cp437:backslashreplace as suggested in http://wiki.python.org/moin/PrintFails

If nothing is wrong with os.walk() and os.listdir(), this issue should be closed.
History
Date User Action Args
2012-12-12 12:28:20amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, techtonik, jkloth, r.david.murray, serhiy.storchaka
2012-12-12 12:28:20amaury.forgeotdarcsetmessageid: <1355315300.92.0.186077041426.issue16656@psf.upfronthosting.co.za>
2012-12-12 12:28:20amaury.forgeotdarclinkissue16656 messages
2012-12-12 12:28:20amaury.forgeotdarccreate