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 larry
Recipients Arfrever, georg.brandl, larry, ncoghlan
Date 2012-06-25.04:33:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340598785.37.0.089476229239.issue15176@psf.upfronthosting.co.za>
In-reply-to
Content
Maybe the correct fix for this is to change the interface?

os.listdir(path, *, dir_fd=None)

Then we'll pick up the return type (str/bytes) from the path variable.

It would make #15177 even easier too, should we go down that route.
History
Date User Action Args
2012-06-25 04:33:05larrysetrecipients: + larry, georg.brandl, ncoghlan, Arfrever
2012-06-25 04:33:05larrysetmessageid: <1340598785.37.0.089476229239.issue15176@psf.upfronthosting.co.za>
2012-06-25 04:33:04larrylinkissue15176 messages
2012-06-25 04:33:02larrycreate