Message221308
As you say, the unicode-escape codec is tied to the Python language definition. So if the language changes, the codec needs to change as well.
A Unicode literal in source code might be using any encoding, so to be on the safe side, restricting it to ASCII is meaningful. Or else, if we want to use the default source encoding (as it did in 2.x), we should assume UTF-8 (per PEP 3120). Using ISO-8859-1 is clearly wrong for 3.x. |
|
Date |
User |
Action |
Args |
2014-06-22 20:35:08 | loewis | set | recipients:
+ loewis, lemburg, ncoghlan, vstinner, ezio.melotti, r.david.murray, Sworddragon, serhiy.storchaka |
2014-06-22 20:35:08 | loewis | set | messageid: <1403469308.58.0.498907103679.issue21331@psf.upfronthosting.co.za> |
2014-06-22 20:35:08 | loewis | link | issue21331 messages |
2014-06-22 20:35:08 | loewis | create | |
|