Message370040
The csv file object knows the encoding it was opened with, I think?
If so, we could add an enhancement that bytes objects are first decoded to str using the same encoding the file was opened with. That seems like a reasonable new feature to me.
Everything else would continue to be passed through str(). |
|
Date |
User |
Action |
Args |
2020-05-27 02:09:47 | steven.daprano | set | recipients:
+ steven.daprano, skip.montanaro, serhiy.storchaka, remi.lapeyre, sidhant |
2020-05-27 02:09:47 | steven.daprano | set | messageid: <1590545387.05.0.387979829628.issue40762@roundup.psfhosted.org> |
2020-05-27 02:09:47 | steven.daprano | link | issue40762 messages |
2020-05-27 02:09:46 | steven.daprano | create | |
|