python-gdb.py: get C types at runtime · python/cpython@4e75ca8 · GitHub
Skip to content

Commit 4e75ca8

Browse files
committed
python-gdb.py: get C types at runtime
Issue #26799: Fix python-gdb.py: don't get once C types when the Python code is loaded, but get C types on demande. The C types can change if python-gdb.py is loaded before the Python executable. Patch written by Thomas Ilsche.
1 parent 8f26565 commit 4e75ca8

3 files changed

Lines changed: 39 additions & 14 deletions

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,11 @@ Windows
467467
Tools/Demos
468468
-----------
469469

470+
- Issue #26799: Fix python-gdb.py: don't get once C types when the Python code
471+
is loaded, but get C types on demande. The C types can change if
472+
python-gdb.py is loaded before the Python executable. Patch written by Thomas
473+
Ilsche.
474+
470475
- Issue #26271: Fix the Freeze tool to properly use flags passed through
471476
configure. Patch by Daniel Shaulov.
472477

Tools/gdb/libpython.py

Lines changed: 33 additions & 14 deletions

0 commit comments

Comments
 (0)