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 jcea
Recipients Mark.Gius, gregory.p.smith, jcea, neologix
Date 2012-10-26.01:34:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351215296.23.0.825444028415.issue16327@psf.upfronthosting.co.za>
In-reply-to
Content
Python2 management should be something like:

"""
Python 2.7.3 (default, Apr 12 2012, 13:11:53) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> try :
...   1/0
... except BaseException as e :
...   try :
...     raise
...   finally :
...     try :
...       raise RuntimeError("TEST")
...     except :
...       pass
... 
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
ZeroDivisionError: integer division or modulo by zero
"""

Sorry, UGLY.

Idea from http://www.doughellmann.com/articles/how-tos/python-exception-handling/index.html
History
Date User Action Args
2012-10-26 01:34:56jceasetrecipients: + jcea, gregory.p.smith, neologix, Mark.Gius
2012-10-26 01:34:56jceasetmessageid: <1351215296.23.0.825444028415.issue16327@psf.upfronthosting.co.za>
2012-10-26 01:34:56jcealinkissue16327 messages
2012-10-26 01:34:55jceacreate