Message289390
I think using codecs.open() with a non-text codecs is a legit use case, but is not the best way. I suggest:
1) Encourage of using io.open() rather than codecs.open() for text encodings. codecs.open() was recommended way since it worked in all Python versions, including <2.6, but now we can ignore this advantage.
2) Discourage of using non-text codecs.
3) Deprecate codecs.open() (may be after EOL for Python 2.7). |
|
Date |
User |
Action |
Args |
2017-03-10 16:17:40 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, vstinner, ezio.melotti |
2017-03-10 16:17:40 | serhiy.storchaka | set | messageid: <1489162660.81.0.0687037339314.issue29783@psf.upfronthosting.co.za> |
2017-03-10 16:17:40 | serhiy.storchaka | link | issue29783 messages |
2017-03-10 16:17:40 | serhiy.storchaka | create | |
|