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.

Author belopolsky
Recipients belopolsky, zotbar1234
Date 2008-03-15.02:58:59
SpamBayes Score 0.3280773
Marked as misclassified No
Message-id <1205549942.42.0.0545682986115.issue2291@psf.upfronthosting.co.za>
In-reply-to
Content
Py3k behavior seems to be better:

Python 3.0a2+ (py3k:61137M, Feb 29 2008, 15:17:29) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
>>> try:    
...   raise ValueError("foo")
... except object:
...   pass
... 
Traceback (most recent call last):
  File "<stdin>", line 3, in <module>
TypeError: catching classes that do not inherit from BaseException is 
not allowed

Something needs to be done for 2.6: at the minimum a warning should be 
issued under -3 option.
History
Date User Action Args
2008-03-15 02:59:02belopolskysetspambayes_score: 0.328077 -> 0.3280773
recipients: + belopolsky, zotbar1234
2008-03-15 02:59:02belopolskysetspambayes_score: 0.328077 -> 0.328077
messageid: <1205549942.42.0.0545682986115.issue2291@psf.upfronthosting.co.za>
2008-03-15 02:59:00belopolskylinkissue2291 messages
2008-03-15 02:58:59belopolskycreate