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 flox
Recipients flox
Date 2010-02-04.09:35:07
SpamBayes Score 0.00014462059
Marked as misclassified No
Message-id <1265276109.88.0.802756804705.issue7853@psf.upfronthosting.co.za>
In-reply-to
Content
On __exit__(), the 3rd argument "exc_value" should contain the instance of the exception.

But in most cases, it contains only the string representation of the exception.

See attached test case.
Same behavior for KeyError, AttributeError, RuntimeError, ...
History
Date User Action Args
2010-02-04 09:35:10floxsetrecipients: + flox
2010-02-04 09:35:09floxsetmessageid: <1265276109.88.0.802756804705.issue7853@psf.upfronthosting.co.za>
2010-02-04 09:35:08floxlinkissue7853 messages
2010-02-04 09:35:07floxcreate