Message302811
There are few issues here.
1. Missed "goto error" after setting an exception in TextIOWrapper constructor. This leads to raising wrong and less informative exception (and maybe worse in Python 3, but this is harder to reproduce).
2. getpreferredencoding() can return None in rare circumferences. But no code using it (except TextIOWrapper) expects this. What is better, fail or fallback to ASCII? |
|
Date |
User |
Action |
Args |
2017-09-23 21:42:07 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ronaldoussoren, ned.deily, r.david.murray, sentinel |
2017-09-23 21:42:07 | serhiy.storchaka | set | messageid: <1506202927.19.0.131962243426.issue25359@psf.upfronthosting.co.za> |
2017-09-23 21:42:07 | serhiy.storchaka | link | issue25359 messages |
2017-09-23 21:42:07 | serhiy.storchaka | create | |
|