[Python-3000] PEP 3138- String representation in Python 3000
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat May 17 10:26:50 CEST 2008
Nick Coghlan wrote:
> Having to mess around with __import__ just to support a "choose
> compression method" configuration option would be fairly annoying.
Perhaps, but even then, I'm not sure it makes sense to
lump them all into the same namespace.
If you're choosing a compression method, it makes sense
to choose 'zip', 'gzip', or 'bzip2', but less sense to
choose 'hex' or 'base64', and even less 'utf8' or 'latin1'.
Similarly there will be different appropriate sets for
video encoding, audio encoding, etc.
--
Greg
More information about the Python-3000
mailing list