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 serhiy.storchaka
Recipients Arfrever, a.badger, abadger1999, benjamin.peterson, ezio.melotti, lemburg, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2013-08-22.07:35:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377156904.96.0.238045047021.issue18713@psf.upfronthosting.co.za>
In-reply-to
Content
> "The surrogateescape error handler works with any codec."

Ah, sorry. You are correct.

> Correct, but it's not something new: os.listdir(), sys.argv, os.environ and
other functions using os.fsdecode(). Applications should already have to
support surrogates.

I'm only saying that this will increase a number of cases when an exception will raised in unexpected place.

Perhaps it will be safe left the "strict" default error handler and make the errors attribute of text streams modifiable.
History
Date User Action Args
2013-08-22 07:35:05serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, ncoghlan, pitrou, vstinner, abadger1999, benjamin.peterson, ezio.melotti, a.badger, Arfrever, r.david.murray
2013-08-22 07:35:04serhiy.storchakasetmessageid: <1377156904.96.0.238045047021.issue18713@psf.upfronthosting.co.za>
2013-08-22 07:35:04serhiy.storchakalinkissue18713 messages
2013-08-22 07:35:04serhiy.storchakacreate