Message195866
> "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. |
|
Date |
User |
Action |
Args |
2013-08-22 07:35:05 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, ncoghlan, pitrou, vstinner, abadger1999, benjamin.peterson, ezio.melotti, a.badger, Arfrever, r.david.murray |
2013-08-22 07:35:04 | serhiy.storchaka | set | messageid: <1377156904.96.0.238045047021.issue18713@psf.upfronthosting.co.za> |
2013-08-22 07:35:04 | serhiy.storchaka | link | issue18713 messages |
2013-08-22 07:35:04 | serhiy.storchaka | create | |
|