summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_frame.py
Commit message (Collapse)AuthorAgeFilesLines
* GH-100126: Skip incomplete frames in more places (GH-100613)Brandt Bucher2023-01-091-0/+21
|
* gh-99110: Initialize `frame->previous` in init_frame to fix segmentation ↵Bill Fisher2022-12-231-0/+9
| | | | fault when accessing `frame.f_back` (#100182)
* GH-99729: Unlink frames before clearing them (GH-100030)Brandt Bucher2022-12-061-0/+42
|
* gh-91248: Optimize PyFrame_GetVar() (#99252)Victor Stinner2022-11-131-0/+6
| | | | PyFrame_GetVar() no longer creates a temporary dictionary to get a variable.
* gh-91248: Add PyFrame_GetVar() function (#95712)Victor Stinner2022-11-081-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 Salgado2022-10-081-1/+1
|
* GH-97002: Prevent `_PyInterpreterFrame`s from backing more than one ↵Brandt Bucher2022-10-061-0/+65
| | | | `PyFrameObject` (GH-97996)
* Fix ResourceWarning in test.test_frame (GH-96831)Dennis Sweeney2022-09-151-16/+19
|
* GH-95818: Skip incomplete frames in `PyThreadState_GetFrame` (GH-95886)Mark Shannon2022-08-111-0/+22
|
* Do not clear globals or builtins when calling clear() on a frame object. ↵Mark Shannon2021-06-171-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 Shannon2021-01-051-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 Önder2020-05-011-1/+1
| | | Automerge-Triggered-By: @vstinner
* bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵Zackery Spytz2018-12-171-4/+6
| | | | (GH-11175)
* bpo-32468: Better frame repr() (#5067)Antoine Pitrou2017-12-311-0/+41
| | | | bpo-32468: Better frame repr()
* Remove unused imports.Serhiy Storchaka2016-12-161-2/+0
|
* Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-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 Pitrou2014-07-051-0/+52
| | | | when frame.clear() has been called.
* Issue #18665: fix typos. Patch by Vajrasky Kok.Antoine Pitrou2013-08-061-1/+1
|
* Issue #18666: improve test_frame a bit. Patch by Vajrasky Kok.Antoine Pitrou2013-08-061-0/+3
|
* Followup to 862ab99ab570: I forgot to add the magnificent test_frame.py.Antoine Pitrou2013-08-051-0/+113