Movatterモバイル変換


[0]ホーム

URL:


[Python-Dev] Bare except clauses in PEP 348

Guido van Rossumgvanrossum at gmail.com
Wed Aug 24 19:15:47 CEST 2005


On 8/24/05, James Y Knight <foom at fuhm.net> wrote:> I think it must be the case that raising an object which does not> derive from an exception class must be deprecated as well in order> for "except:" to be deprecated. Otherwise, there is nothing you can> change "except:" to in order not to get a deprecation warning and> still have your code be correct in the face of documented features of> python.I agree; isn't that already in ther PEP? This surely has been thethinking all along.-- --Guido van Rossum (home page:http://www.python.org/~guido/)


More information about the Python-Devmailing list

[8]ページ先頭

©2009-2025 Movatter.jp