Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] PEP 8: exception style

Guido van Rossumgvanrossum at gmail.com
Mon Aug 8 01:58:42 CEST 2005


> > Maybe in Py3K this could become> >> > raise ValueError("bloop"), tb>> The instantiation and bindings need to be done in one step without> mixing two syntaxes.  Treat this case the same as everything else:>> raise ValueError("blip", traceback=tb)That requires PEP 344. I have some vague feeling that the way we buildup the traceback by linking backwards, this may not necessarily workright. I guess somebody has to try to implement PEP 344 in order tofind out.(In fact, I think trying to implement PEP 344 would be an *excellent*way to validate it.)-- --Guido van Rossum (home page:http://www.python.org/~guido/)


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp