M.-A. Lemburg wrote:
str.transform() -> str     (uses the encode function of the codec)
str.untransform() -> str   (uses the decode function of the codec)

Not sure I like those names. It's rather unclear which
direction is "transform" and which is "untransform".

People seem to have trouble enough with "encode" and
"decode", but at least there's a clear definition of
that from Unicode-land, and there's the type difference
to catch the mistake if you get it wrong.

Since both ends have the same type here, it's more
important to find unambiguous names if possible.

--
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to