➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 belopolsky
收信人 belopolsky
日期 2008-03-18.03:51:02
SpamBayes Score 0.34516928
Marked as misclassified 否
Message-id <1205812263.49.0.840453912449.issue2380@psf.upfronthosting.co.za>
In-reply-to
内容
As of r61478, the following code fails to produce a py3k warning:

try:
   raise ValueError
except ((ValueError,object),):
   pass


which is an error for in py3k:

Traceback (most recent call last):
  File "x.py", line 3, in <module>
    except ((ValueError,object),):
TypeError: catching classes that do not inherit from BaseException is 
not allowed
历史
日期 用户 动作 参数
2008-03-18 03:51:03belopolsky修改spambayes_score: 0.345169 -> 0.34516928
recipients: + belopolsky
2008-03-18 03:51:03belopolsky修改spambayes_score: 0.345169 -> 0.345169
messageid: <1205812263.49.0.840453912449.issue2380@psf.upfronthosting.co.za>
2008-03-18 03:51:02belopolsky链接issue2380 messages
2008-03-18 03:51:02belopolsky创建