Author michael.foord
Recipients docs@python, michael.foord
Date 2011-12-09.01:49:59
SpamBayes Score 0.0331784
Marked as misclassified No
Message-id <>
Where os.listdir encounters undecodable bytes from the filesystem it uses the surrogateescape handler. As the resulting strings are invalid they can't be encoded without an errorhandler, and so can't be printed (for example).

This should be documented.
Date User Action Args
2011-12-09 01:50:00michael.foordsetrecipients: + michael.foord, docs@python
2011-12-09 01:50:00michael.foordsetmessageid: <>
2011-12-09 01:49:59michael.foordlinkissue13561 messages
2011-12-09 01:49:59michael.foordcreate