Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-125590: Allow FrameLocalsProxy to delete and pop keys from extra locals ↵ | Tian Gao | 2024-10-21 | 1 | -2/+28 |
| | | | | (#125616) | ||||
* | gh-124513: Check args in framelocalsproxy_new() (#124515) | Victor Stinner | 2024-09-25 | 1 | -0/+21 |
| | | | | Fix a crash in FrameLocalsProxy constructor: check the number of arguments. | ||||
* | gh-120906: Support arbitrary hashable keys in FrameLocalsProxy (GH-122309) | Petr Viktorin | 2024-07-30 | 1 | -0/+127 |
| | | | Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com> | ||||
* | GH-120097: Make FrameLocalsProxy a mapping (#120101) | Mark Shannon | 2024-06-19 | 1 | -0/+12 |
| | | | | | * Register FrameLocalsProxy as a subclass of collections.abc.Mapping * Allow FrameLocalsProxy to matching mapping patterns | ||||
* | gh-120417: Remove unused imports in tests (part 2) (#120630) | Victor Stinner | 2024-06-17 | 1 | -3/+1 |
| | |||||
* | gh-118921: Add `copy()` method for `FrameLocalsProxy` (#118923) | Tian Gao | 2024-05-10 | 1 | -3/+9 |
| | |||||
* | gh-74929: Remove undesirable DECREF in PEP 667 implementation (#118583) | Tian Gao | 2024-05-05 | 1 | -0/+15 |
| | | | | With tests. | ||||
* | gh-74929: Implement PEP 667 (GH-115153) | Tian Gao | 2024-05-04 | 1 | -11/+175 |
| | |||||
* | GH-116098: Remove dead frame object creation code (GH-116687) | Tian Gao | 2024-03-12 | 1 | -65/+0 |
| | |||||
* | GH-112354: Initial implementation of warm up on exits and trace-stitching ↵ | Mark Shannon | 2024-02-20 | 1 | -0/+1 |
| | | | | (GH-114142) | ||||
* | gh-112529: Make the GC scheduling thread-safe (#114880) | Sam Gross | 2024-02-16 | 1 | -1/+2 |
| | | | | | | | | | | The GC keeps track of the number of allocations (less deallocations) since the last GC. This buffers the count in thread-local state and uses atomic operations to modify the per-interpreter count. The thread-local buffering avoids contention on shared state. A consequence is that the GC scheduling is not as precise, so "test_sneaky_frame_object" is skipped because it requires that the GC be run exactly after allocating a frame object. | ||||
* | gh-115020: Remove a debugging print in test_frame (GH-115021) | Kirill Podoprigora | 2024-02-05 | 1 | -1/+0 |
| | |||||
* | gh-113939: Frame clear, clear locals (#113940) | Albert Zeyer | 2024-01-31 | 1 | -0/+22 |
| | |||||
* | gh-79932: raise exception if frame.clear() is called on a suspended frame ↵ | Irit Katriel | 2023-11-07 | 1 | -6/+9 |
| | | | | (#111792) | ||||
* | Fix typos in docs and comments (#109619) | Heinz-Alexander Fuetterer | 2023-09-20 | 1 | -1/+1 |
| | |||||
* | GH-100126: Skip incomplete frames in more places (GH-100613) | Brandt Bucher | 2023-01-09 | 1 | -0/+21 |
| | |||||
* | gh-99110: Initialize `frame->previous` in init_frame to fix segmentation ↵ | Bill Fisher | 2022-12-23 | 1 | -0/+9 |
| | | | | fault when accessing `frame.f_back` (#100182) | ||||
* | GH-99729: Unlink frames before clearing them (GH-100030) | Brandt Bucher | 2022-12-06 | 1 | -0/+42 |
| | |||||
* | gh-91248: Optimize PyFrame_GetVar() (#99252) | Victor Stinner | 2022-11-13 | 1 | -0/+6 |
| | | | | PyFrame_GetVar() no longer creates a temporary dictionary to get a variable. | ||||
* | gh-91248: Add PyFrame_GetVar() function (#95712) | Victor Stinner | 2022-11-08 | 1 | -0/+35 |
| | | | | | | Add PyFrame_GetVar() and PyFrame_GetVarString() functions to get a frame variable by its name. Move PyFrameObject C API tests from test_capi to test_frame. | ||||
* | gh-97922: Run the GC only on eval breaker (#97920) | Pablo Galindo Salgado | 2022-10-08 | 1 | -1/+1 |
| | |||||
* | GH-97002: Prevent `_PyInterpreterFrame`s from backing more than one ↵ | Brandt Bucher | 2022-10-06 | 1 | -0/+65 |
| | | | | `PyFrameObject` (GH-97996) | ||||
* | Fix ResourceWarning in test.test_frame (GH-96831) | Dennis Sweeney | 2022-09-15 | 1 | -16/+19 |
| | |||||
* | GH-95818: Skip incomplete frames in `PyThreadState_GetFrame` (GH-95886) | Mark Shannon | 2022-08-11 | 1 | -0/+22 |
| | |||||
* | Do not clear globals or builtins when calling clear() on a frame object. ↵ | Mark Shannon | 2021-06-17 | 1 | -0/+13 |
| | | | | Reverts behavior to that of 3.10 and earlier. (GH-26768) | ||||
* | bpo-42823: Fix frame lineno when frame.f_trace is set (GH-24099) | Mark Shannon | 2021-01-05 | 1 | -0/+21 |
| | | | | | | | | | * Add test for frame.f_lineno with/without tracing. * Make sure that frame.f_lineno is correct regardless of whether frame.f_trace is set. * Update importlib * Add NEWS | ||||
* | bpo-40462: fix variable and function names (GH-19832) | Furkan Önder | 2020-05-01 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: @vstinner | ||||
* | bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵ | Zackery Spytz | 2018-12-17 | 1 | -4/+6 |
| | | | | (GH-11175) | ||||
* | bpo-32468: Better frame repr() (#5067) | Antoine Pitrou | 2017-12-31 | 1 | -0/+41 |
| | | | | bpo-32468: Better frame repr() | ||||
* | Remove unused imports. | Serhiy Storchaka | 2016-12-16 | 1 | -2/+0 |
| | |||||
* | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -4/+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. | ||||
* | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵ | Antoine Pitrou | 2014-07-05 | 1 | -0/+52 |
| | | | | when frame.clear() has been called. | ||||
* | Issue #18665: fix typos. Patch by Vajrasky Kok. | Antoine Pitrou | 2013-08-06 | 1 | -1/+1 |
| | |||||
* | Issue #18666: improve test_frame a bit. Patch by Vajrasky Kok. | Antoine Pitrou | 2013-08-06 | 1 | -0/+3 |
| | |||||
* | Followup to 862ab99ab570: I forgot to add the magnificent test_frame.py. | Antoine Pitrou | 2013-08-05 | 1 | -0/+113 |