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

_______________________________________________
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