Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30579: Allow TracebackType creation and tb_next mutation from Python ↵ | Nathaniel J. Smith | 2018-01-07 | 1 | -0/+66 |
| | | | | | | | | | | | | | | | | | (GH-4793) Third party projects may wish to hide their own internal machinery in order to present more comprehensible tracebacks to end users (e.g. Jinja2 and Trio both do this). Previously such projects have had to rely on ctypes to do so: https://github.com/pallets/jinja/blob/fe3dadacdf4cf411d0a5b6bbd4d5234697a28af2/jinja2/debug.py#L345 https://github.com/python-trio/trio/blob/1e86b1aee8c0c759f6f239ae53a05d0d3963c629/trio/_core/_multierror.py#L296 This provides a Python level API for creating and modifying real Traceback objects, allowing tracebacks to be edited at runtime. Patch by Nathaniel Smith. | ||||
* | bpo-20548: Use specific asserts in warnings and exceptions tests (#788) | Serhiy Storchaka | 2017-03-30 | 1 | -6/+6 |
| | |||||
* | Remove unused imports. | Serhiy Storchaka | 2016-12-16 | 1 | -1/+0 |
| | |||||
* | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -3/+0 |
| | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||||
* | Close #14136 by cleaning up the PEP 409 command line test (patch by Ethan ↵ | Nick Coghlan | 2012-05-21 | 1 | -52/+1 |
| | | | | Furman) | ||||
* | PEP 415: Implement suppression of __context__ display with an exception ↵ | Benjamin Peterson | 2012-05-15 | 1 | -2/+5 |
| | | | | | | attribute This replaces the original PEP 409 implementation. See #14133. | ||||
* | Close issue #6210: Implement PEP 409 | Nick Coghlan | 2012-02-26 | 1 | -1/+81 |
| | |||||
* | add a test for an assertion with tuple msg | Benjamin Peterson | 2011-10-27 | 1 | -0/+7 |
| | |||||
* | catch nasty exception classes with __new__ that doesn't return a exception ↵ | Benjamin Peterson | 2011-07-15 | 1 | -0/+9 |
| | | | | | | (closes #11627) Patch from Andreas Stührk. | ||||
* | Merged revisions 77727 via svnmerge from | Ezio Melotti | 2010-01-24 | 1 | -10/+10 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........ | ||||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 | 1 | -2/+2 |
| | | | | A patch from Dave Malcolm. | ||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -17/+17 |
| | |||||
* | Issue 3611: in some cases (a __del__ re-raising an exception, when called ↵ | Amaury Forgeot d'Arc | 2008-08-29 | 1 | -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 location | Benjamin Peterson | 2008-08-21 | 1 | -0/+22 |
| | |||||
* | implement chained exception tracebacks | Benjamin Peterson | 2008-07-15 | 1 | -0/+24 |
| | | | | patch from Antoine Pitrou #3112 | ||||
* | Implicit exception chaining via __context__ (PEP 3134). | Guido van Rossum | 2008-06-14 | 1 | -26/+96 |
| | | | | Patch 3108 by Antooine Pitrou. | ||||
* | #3021: Antoine Pitrou's Lexical exception handlers | Benjamin Peterson | 2008-06-11 | 1 | -1/+72 |
| | |||||
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 | 1 | -2/+2 |
| | |||||
* | Fix refleaks exposed by test_raise. | Collin Winter | 2007-09-01 | 1 | -0/+24 |
| | |||||
* | Cut test_raise down to size. | Collin Winter | 2007-08-31 | 1 | -278/+0 |
| | |||||
* | Issue #1066: implement PEP 3109, 2/3 of PEP 3134. | Collin Winter | 2007-08-31 | 1 | -0/+417 |