homepage

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 michael.foord
Recipients docs@python, michael.foord
Date 2011年12月09日.01:49:59
SpamBayes Score 0.0331784
Marked as misclassified No
Message-id <1323395400.31.0.796436036954.issue13561@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011年12月09日 01:50:00michael.foordsetrecipients: + michael.foord, docs@python
2011年12月09日 01:50:00michael.foordsetmessageid: <1323395400.31.0.796436036954.issue13561@psf.upfronthosting.co.za>
2011年12月09日 01:49:59michael.foordlinkissue13561 messages
2011年12月09日 01:49:59michael.foordcreate

AltStyle によって変換されたページ (->オリジナル) /