Message251921
> Before importing the io module sys.stderr is stdprinter. It always encodes written string to UTF-8. Proposed patch makes it to use the backslashreplace error handler.
I like this solution. stdprinter is supposed to be replaced quickly.
But we may need something else to escape non-encodable characters in the filename when sys.stdout is a TextIOWrapper using the strict error handler. |
|
| Date |
User |
Action |
Args |
| 2015-09-30 10:07:31 | vstinner | set | recipients:
+ vstinner, brett.cannon, ncoghlan, Arfrever, eric.snow, serhiy.storchaka |
| 2015-09-30 10:07:31 | vstinner | set | messageid: <1443607651.6.0.166078361525.issue25182@psf.upfronthosting.co.za> |
| 2015-09-30 10:07:31 | vstinner | link | issue25182 messages |
| 2015-09-30 10:07:31 | vstinner | create | |
|