[Python-3000] PEP 3138- String representation in Python 3000

Terry Reedy tjreedy at udel.edu
Fri May 16 07:21:23 CEST 2008


"Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote in message 
news:482CF57D.6010200 at canterbury.ac.nz...
| Guido van Rossum wrote:
|
| > Really? Don't you think it's pretty obvious that b.transform("gzip")
| > compresses and b.untransform("gzip") decompresses? Or that
| > b.transform("base64") generates base64 format?
|
| Well, maybe. I think the problem is that the word
| "transform" is inherently direction-neutral, and it
| only becomes obvious that you have a direction in
| mind for it when you pair it with some invention
| such as "untransform".
|
| Maybe it's not all that bad, but it just seems
| like it should be possible to do better than picking
| a very general word like "transform" and giving
| it our own special meaning.

Would you prefer re_transform, which is English? 





More information about the Python-3000 mailing list