gh-108216: Add pycore_dict_struct.h internal header file#108235
Closed
vstinner wants to merge 1 commit intopython:mainfrom
Closed
gh-108216: Add pycore_dict_struct.h internal header file#108235vstinner wants to merge 1 commit intopython:mainfrom
vstinner wants to merge 1 commit intopython:mainfrom
Conversation
2 tasks
Add a new internal pycore_dict_struct.h header file. It can be used by debuggers and profilers to inspect a Python dictionary without having to call Python functions. It should be usable in C++. pycore_dict.h includes pycore_dict_struct.h (no API change).
Member
Author
|
@P403n1x87: Would you be able to test that Python 3.13 with this change solves your C++ issue? |
Member
Author
Contributor
Yep I'll try to test this as soon as I can. If it works, would this be backportable to 3.12? |
Member
Author
IMO it's way too late to change Python 3.12, since we are close to the release candidate 1. |
Contributor
|
@vstinner This is looking good https://github.com/P403n1x87/echion/actions/runs/5997599397/job/16264282012 (from PR P403n1x87/echion#9) |
Member
Author
|
I closed the issue: #108216 (comment) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new internal pycore_dict_struct.h header file. It can be used
by debuggers and profilers to inspect a Python dictionary without
having to call Python functions. It should be usable in C++.
pycore_dict.h includes pycore_dict_struct.h (no API change).