Paul Moore added the comment:
On 2 May 2013 16:35, Dmi Baranov <[email protected]> wrote:
> Paul, result as iterable of CodecInfo objects is gives much more
> flexibility than the names of codecs (whats if you will have a few codecs
> with the same name in different SearchObjects?)
Works for me. My usage would be
def list_supported_codecs():
for codec in codecs.registered_codecs():
print(codec.name)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17878>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com