[Python-Dev] Getting a list of registered codecs

Steven D'Aprano steve at pearwood.info
Tue Apr 30 11:36:31 CEST 2013

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:



More information about the Python-Dev mailing list