Message252002
On 01.10.2015 04:35, Martin Panter wrote:
> 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.
It's a codec, so either we remove both functions or leave both
functions in. It's still used in pickletools and serves a useful
purpose there (to unescape embedded escapes in byte streams). |
|
Date |
User |
Action |
Args |
2015-10-01 07:34:36 | lemburg | set | recipients:
+ lemburg, doerwalter, benjamin.peterson, berker.peksag, martin.panter, serhiy.storchaka, The Compiler, reaperhulk, Bruno Oliveira |
2015-10-01 07:34:36 | lemburg | link | issue25270 messages |
2015-10-01 07:34:36 | lemburg | create | |
|