Author hanno
Recipients berker.peksag, ezio.melotti, hanno, iritkatriel, steven.daprano
Date 2022-01-14.14:29:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Now the example code raises an AssertionError(). Is that intended? I don't think that's any better.

I usually wouldn't expect an HTML parser to raise any error if you pass it a string, but instead to do fault tolerant parsing. And if it's expected that some inputs can generate exceptions, at least I think this should be properly documented.
Date User Action Args
2022-01-14 14:29:29hannosetrecipients: + hanno, ezio.melotti, steven.daprano, berker.peksag, iritkatriel
2022-01-14 14:29:29hannosetmessageid: <>
2022-01-14 14:29:29hannolinkissue32876 messages
2022-01-14 14:29:29hannocreate