summaryrefslogtreecommitdiff
path: root/Lib/test/test_raise.py
Commit message (Collapse)AuthorAgeFilesLines
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-17/+17
|
* Issue 3611: in some cases (a __del__ re-raising an exception, when called ↵Amaury Forgeot d'Arc2008-08-291-0/+24
| | | | | | | | | | | | | from inside an 'except' clause), the exception __context__ would be reset to None. This crases the interpreter if this precisely happens inside PyErr_SetObject. - now the __context__ is properly preserved - in any case, PyErr_SetObject now saves the current exc_value in a local variable, to avoid such crashes in the future. Reviewer: Antoine Pitrou.
* move test to a better locationBenjamin Peterson2008-08-211-0/+22
|
* implement chained exception tracebacksBenjamin Peterson2008-07-151-0/+24
| | | | patch from Antoine Pitrou #3112
* Implicit exception chaining via __context__ (PEP 3134).Guido van Rossum2008-06-141-26/+96
| | | | Patch 3108 by Antooine Pitrou.
* #3021: Antoine Pitrou's Lexical exception handlersBenjamin Peterson2008-06-111-1/+72
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Fix refleaks exposed by test_raise.Collin Winter2007-09-011-0/+24
|
* Cut test_raise down to size.Collin Winter2007-08-311-278/+0
|
* Issue #1066: implement PEP 3109, 2/3 of PEP 3134.Collin Winter2007-08-311-0/+417