Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-102515: Remove unused imports in the `Lib/` directory (#102516) | Alex Waygood | 2023-03-08 | 1 | -1/+0 |
| | |||||
* | gh-98257: Make _PyEval_SetTrace() reentrant (#98258) | Victor Stinner | 2022-10-19 | 1 | -6/+2 |
| | | | | | | | | | | Make sys.setprofile() and sys.settrace() functions reentrant. They can no long fail with: RuntimeError("Cannot install a trace function while another trace function is being installed"). Make _PyEval_SetTrace() and _PyEval_SetProfile() functions reentrant, rather than detecting and rejecting reentrant calls. Only delete the reference to function arguments once the new function is fully set, when a reentrant call is safe. Call also _PySys_Audit() earlier. | ||||
* | gh-94510: Raise on re-entrant calls to sys.setprofile and sys.settrace ↵ | Pablo Galindo Salgado | 2022-07-05 | 1 | -0/+39 |
| | | | | | (GH-94511) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-36994: add test for profiling method_descriptor with **kwargs (GH-13461) | Jeroen Demeyer | 2019-05-22 | 1 | -0/+9 |
| | | | | | It adds a missing testcase for bpo-34125. This is testing code which is affected by PEP 590, so missing this test might accidentally break CPython if we screw up with implementing PEP 590. | ||||
* | bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895) | Windson yang | 2019-04-22 | 1 | -2/+2 |
| | |||||
* | bpo-34125: Enable profiling of method_descriptor in all cases (GH-8416) | jdemeyer | 2018-09-19 | 1 | -0/+18 |
| | | | | | | `list.append([], None)` was profiled but `list.append([], None, **{})` was not profiled. Enable profiling for later case. https://bugs.python.org/issue34125 | ||||
* | bpo-34126: Fix crashes while profiling invalid calls. (GH-8300) | jdemeyer | 2018-07-21 | 1 | -0/+16 |
| | |||||
* | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -10/+1 |
| | | | | | | | 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. | ||||
* | PEP 479: Use the return-keyword instead of raising StopIteration inside a ↵ | Raymond Hettinger | 2014-11-23 | 1 | -1/+0 |
| | | | | generators. | ||||
* | use assertion methods | Benjamin Peterson | 2010-10-17 | 1 | -2/+2 |
| | |||||
* | disable the garbage collector while collecting traces, so that __del__s ↵ | Benjamin Peterson | 2010-10-17 | 1 | -3/+12 |
| | | | | don't get caught | ||||
* | remove rather pointless test | Benjamin Peterson | 2010-10-17 | 1 | -8/+0 |
| | |||||
* | Issue #9315: Renamed test_trace to test_sys_settrace and | Alexander Belopolsky | 2010-07-25 | 1 | -0/+385 |
test_profilehooks to test_sys_setprofile so that test_trace can be used for testing the trace module and for naming consistency. |