Codec lookup fails for bad codec name, blowing up BeautifulSoup

John Nagle nagle at
Sat Nov 10 00:15:06 CET 2007

Waldemar Osuch wrote:
>> This is a known bug. It's in the old tracker on SourceForge:
>>         [ python-Bugs-960874 ] codecs.lookup can raise exceptions other
>>         than LookupError
>> but not in the new tracker.
> The new tracker has it too.

    How did you find that?  I put "codecs.lookup" into the tracker's
search box, and it returned five hits, but not that one.

				John Nagle

More information about the Python-list mailing list