homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients benjamin.peterson, serhiy.storchaka
Date 2013年04月23日.18:11:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366740714.43.0.637419404969.issue17823@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013年04月23日 18:11:54serhiy.storchakasetrecipients: + serhiy.storchaka, benjamin.peterson
2013年04月23日 18:11:54serhiy.storchakasetmessageid: <1366740714.43.0.637419404969.issue17823@psf.upfronthosting.co.za>
2013年04月23日 18:11:54serhiy.storchakalinkissue17823 messages
2013年04月23日 18:11:54serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /