Message251989
The patch looks sufficient to fix the problem, though I do like Serhiy’s suggestions.
For the record, because I was curious: Function codecs.escape_encode() is not documented, and barely tested. It was used for the documented “string_escape” codec in Python 2, but this codec was removed for Python 3 in revision bc90fc9b70b7. The function was apparently added to support pickling, but I don’t see any evidence that it was ever used. Only the decode counterpart was used. I wonder if the encode function could be removed at some point. |
|
Date |
User |
Action |
Args |
2015-10-01 02:35:53 | martin.panter | set | recipients:
+ martin.panter, lemburg, doerwalter, benjamin.peterson, berker.peksag, serhiy.storchaka, The Compiler, reaperhulk, Bruno Oliveira |
2015-10-01 02:35:52 | martin.panter | set | messageid: <1443666952.91.0.950971601367.issue25270@psf.upfronthosting.co.za> |
2015-10-01 02:35:52 | martin.panter | link | issue25270 messages |
2015-10-01 02:35:52 | martin.panter | create | |
|