Marc-Andre Lemburg added the comment: On 02.05.2013 16:45, Walter Dörwald wrote: > ... > The search function can't return a list of codec names in this case, as the > list is infinite.
True. The search object will have to be allowed to raise a NotImplementedError or some other error/return value to signal that the list of supported codecs is not available. Note that the search object should only return a list of supported canonical encoding names with .list_codecs(), not all possible ones :-) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17878> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com