[Python-Dev] patch commit policies (was [issue4308] repr of httplib.IncompleteRead is stupid)

Chris Withers chris at simplistix.co.uk
Sun Mar 8 13:17:00 CET 2009


Tres Seaver wrote:
> If it is possible for a hostile outsider to trigger the DOS by sending
> mail to be processed by an application using the library, and the
> application can't avoid the DOS without ditching / forking /
> monkeypatching the library, then I would call the bug a "security bug",
> period.

I just captured the original exception and re-raised it as a subclass 
with a sane __repr__

cheers,

Chris



More information about the Python-Dev mailing list