Message171799
I was just logging in to make this point, but Serhiy beat me to it. When I wrote several years ago that this was "easy", it was before the (awesome) PEP 393 work. I suspect, but have not verified, that having a bytes version of this code would now require an implementation that shared very little with the str version.
So I think Martin's advice to just encode to ascii is the best course of action. |
|
Date |
User |
Action |
Args |
2012-10-02 13:16:12 | eric.smith | set | recipients:
+ eric.smith, loewis, terry.reedy, exarkun, vstinner, christian.heimes, benjamin.peterson, ezio.melotti, arjennienhuis, uau, martin.panter, serhiy.storchaka |
2012-10-02 13:16:12 | eric.smith | set | messageid: <1349183772.93.0.131015130184.issue3982@psf.upfronthosting.co.za> |
2012-10-02 13:16:12 | eric.smith | link | issue3982 messages |
2012-10-02 13:16:12 | eric.smith | create | |
|