Message231652
Patch looks good to me, too.
As far as Amaury's question goes, isn't the general reverse operation the same as for the existing backslashreplace handler?
That is, decode with the appropriate ASCII compatible encoding (since ASCII compatibility is needed for the escape sequences to be valid), then run the result through ast.literal_eval?
(I'll grant we don't currently provide guidance on reversing backslashreplace either, but addressing that sounds like a separate question from this change) |
|
Date |
User |
Action |
Args |
2014-11-25 10:58:27 | ncoghlan | set | recipients:
+ ncoghlan, lemburg, amaury.forgeotdarc, vstinner, ezio.melotti, steven.daprano, ethan.furman, serhiy.storchaka |
2014-11-25 10:58:27 | ncoghlan | set | messageid: <1416913107.2.0.613331618562.issue19676@psf.upfronthosting.co.za> |
2014-11-25 10:58:27 | ncoghlan | link | issue19676 messages |
2014-11-25 10:58:26 | ncoghlan | create | |
|