add an asynchronous exception class

Steven D'Aprano steve at
Sat Mar 4 09:29:58 CET 2006

On Sat, 04 Mar 2006 08:41:48 +0100, Fredrik Lundh wrote:

> Paul Rubin wrote:
>> I'd like to suggest adding a builtin abstract class to Python called
>> AsynchronousException, which would be a subclass of Exception.  The
>> only asynchronous exception I can think of right now is
>> KeyboardInterrupt, so KeyboardInterrupt would become a subclass of
>> AsynchronousException instead of being a direct subclass of Exception.
> PEP 348 addresses this by moving special exceptions out of the
> Exception hierarchy:

The PEP has been summarily rejected, perhaps because it was too broad in
the changes it suggested. 


More information about the Python-list mailing list