[Python-Dev] Counting collisions for the win (original) (raw)
Benjamin Peterson benjamin at python.org
Sat Jan 21 03:36:32 CET 2012
- Previous message: [Python-Dev] Counting collisions for the win
- Next message: [Python-Dev] Counting collisions for the win
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2012/1/20 Steven D'Aprano <steve at pearwood.info>:
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
Guido meant a direct subclass.
-- Regards, Benjamin
- Previous message: [Python-Dev] Counting collisions for the win
- Next message: [Python-Dev] Counting collisions for the win
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]