[Python-Dev] Add transform() and untranform() methods

Ethan Furman ethan at stoneleaf.us
Fri Nov 15 17:04:55 CET 2013

On 11/14/2013 11:13 PM, Nick Coghlan wrote:
> The proposal I posted to issue 7475 back in April (and, in the absence
> of any objections to the proposal, finally implemented over the past
> few weeks) was to take advantage of the fact that the codecs.encode
> and codecs.decode convenience functions exist (and have been covered
> by the regression test suite) as far back as Python 2.4. I did this
> merely by documenting the existing of the functions for Python 2.7,
> 3.3 and 3.4, changing the exception messages thrown for codec output
> type errors on the convenience methods to reference them, and by
> updating the Python 3.4 What's New document to explain the changes.

Thanks for doing this work, Nick!


More information about the Python-Dev mailing list