Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Exception Reorg PEP checked in

Brett Cannonbcannon at gmail.com
Fri Aug 5 22:25:45 CEST 2005


On 8/4/05, Guido van Rossum <gvanrossum at gmail.com> wrote:> This does contradict my earlier claim that Python itself doesn't use> RuntimeError; I think I'd be happier if it remained RuntimeError. (I> think there are a few more uses of it inside Python itself; I don't> think it's worth inventing new exceptions for all these.)>I just realized that keeping RuntimeError still does not resolve theissue that the name kind of sucks for realizing intrinsically that itis for quick-and-dirty exceptions (or am I the only one who thinksthis?).  Should we toss in a subclass called SimpleError?-Brett


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp