gh-146462: Add dict introspection debug offsets (#148633) · python/cpython@8c79678 · GitHub
Skip to content

Commit 8c79678

Browse files
authored
gh-146462: Add dict introspection debug offsets (#148633)
1 parent ffe050a commit 8c79678

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

Include/internal/pycore_debug_offsets.h

Lines changed: 14 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Added ``PyTypeObject.tp_basicsize``, ``PyTypeObject.tp_dictoffset``, and
2+
``PyHeapTypeObject.ht_cached_keys`` offsets to :c:type:`!_Py_DebugOffsets` to
3+
support version-independent read-only dict introspection tools.

Modules/_remote_debugging/debug_offsets_validation.h

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)