Movatterモバイル変換
[0]ホーム
[Python-Dev] PEP 348 (exception reorg) revised again
Scott David DanielsScott.Daniels at Acm.Org
Mon Aug 15 21:27:57 CEST 2005
Toby Dickenson wrote:> On Monday 15 August 2005 14:16, Raymond Hettinger wrote:>> The rationale for including TerminatingException in the PEP would also be> satisfied by having a TerminatingExceptions tuple (in the exceptions> module?). It makes sense to express the classification of exceptions that are> intended to terminate the interpreter, but we dont need to express that> classification as inheritence.>An argument _for_ TerminatingException as a class is that I candefine my own subclasses of TerminatingException without forcingit to being a subclass of KeyboardInterrupt or SystemExit.-- Scott David DanielsScott.Daniels at Acm.Org
More information about the Python-Devmailing list
[8]ページ先頭