Message187662
Quoting Victor Stinner from msg106669:
"""
It's maybe possible for write some 2to3 fixers for the following examples:
"...".encode("base64") => base64.b64encode("...")
"...".encode("rot13") => do nothing (but display a warning?)
"...".encode("zlib") => zlib.compress("...")
"...".encode("hex") => base64.b16encode("...")
"...".encode("bz2") => bz2.compress("...")
"...".decode("base64") => base64.b64decode("...")
"...".decode("rot13") => do nothing (but display a warning?)
"...".decode("zlib") => zlib.decompress("...")
"...".decode("hex") => base64.b16decode("...")
"...".decode("bz2") => bz2.decompress("...")
"""
Unfortunately I don't know where is the syntax for writing fixers. |
|
Date |
User |
Action |
Args |
2013-04-23 18:11:54 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, benjamin.peterson |
2013-04-23 18:11:54 | serhiy.storchaka | set | messageid: <1366740714.43.0.637419404969.issue17823@psf.upfronthosting.co.za> |
2013-04-23 18:11:54 | serhiy.storchaka | link | issue17823 messages |
2013-04-23 18:11:54 | serhiy.storchaka | create | |
|