[Python-Dev] Reintroduce or drop completly hex, bz2, rot13, ... codecs
R. David Murray
rdmurray at bitdance.com
Wed Jun 9 13:42:27 CEST 2010
On Wed, 09 Jun 2010 21:14:33 +1000, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On 09/06/10 18:41, M.-A. Lemburg wrote:
> > The methods to be used will be .transform() for the encode direction
> > and .untransform() for the decode direction.
>
> +1, although adding this for 3.2 would need an exception to the
> moratorium approved (since it is adding new methods for builtin types).
>
> Adding the same-type codecs back even without the helper methods should
> be fine though (less useful without the helper methods, obviously, but
> still valid).
Agreed. And I think making an exception to the moratorium for
translate/untranslate is justified, given that this is restoring a
feature that Python2 had, in a Python3 compatible manner.
--
R. David Murray www.bitdance.com
More information about the Python-Dev
mailing list