R: [Python-Dev] Deprecating string exceptions

Skip Montanaro skip@pobox.com
2002年3月28日 09:01:48 -0600


 Guido> One other, more practical reason to like the rule: "except
 Guido> Exception:" would become equivalent to "except:". 
Just to make sure I'm not missing something (I probably am), I still think
the recommended catch-all except construct should become "except
StandardError:" with KeyboardInterrupt migrated to inherit from Exception
instead of StandardError.
Skip

AltStyle によって変換されたページ (->オリジナル) /