Stephen J. Turnbull wrote:
Do you really think that .transform clients will really choose 'base64' when they want 'lzma'?
It depends on who the "client" is. An application popping up a list of compression methods is just going to confuse users if it lists "base64" as a possibility. So it already needs some application-specific notion of what constitutes a probable compression method built into it, and if that list is to be extensible, it needs an application-specific registry to manage it. Once you've got that, the general codec registry doesn't help you much. -- 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