[Python-Dev] Counting collisions for the win (original) (raw)

Steven D'Aprano steve at pearwood.info
Sat Jan 21 03:33:24 CET 2012


Guido van Rossum wrote:

It should derive from BaseException.

RuntimeError meets that requirement, and it is an existing exception so there are no issues with introducing a new built-in exception to a point release.

py> issubclass(RuntimeError, BaseException) True

-- Steven



More information about the Python-Dev mailing list