On Tue, Apr 30, 2013 at 10:15:58AM +0100, Paul Moore wrote: > Before I raise a bug for this, can someone confirm if I've simply missed > something? I don't see any way, either in the docs or in the helpstrings > from the codecs, of listing the codecs that have been registered. > > FWIW, I picked this up when I was looking at writing a simple encoding > converter, and I wanted to add a flag to list what conversions were > supported.
This may be of help: http://hg.python.org/releasing/3.3.1/file/tip/Tools/unicode/listcodecs.py -- Steven _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com