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.


New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-42725: Render annotations effectless on symbol table with PEP 563 #25583
bpo-42725: Render annotations effectless on symbol table with PEP 563 #25583
Changes from all commits
5c7d7967493334File filter
Jump to
pablogsalMay 1, 2021
Member
Can we move all these expressions to
test_annotations_forbiddenso is clear that we are not missing any case?pablogsalMay 1, 2021
•
edited
Member
Aren't you leaking
st_future? Who is freeing this memory now?isidenticalMay 1, 2021
•
edited
Author
Member
This seems like something we caught while testing, though when you create a symbol table from a string (for python interface), then it doesn't actually set the futures. And while checking that, I noticed that this free was unnecessary and previously had no effect. Now it is trying to deallocate something that we didn't allocate in this function in the first place. Moving the
PyMem_Freecall to the host side (_PySymtableStringObjectFlags).