8000 gh-81057: Move Globals in Core Code to _PyRuntimeState by ericsnowcurrently · Pull Request #99496 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-81057: Move Globals in Core Code to _PyRuntimeState #99496

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a TODO comment about leaked memory.
  • Loading branch information
ericsnowcurrently committed Nov 14, 2022
commit 72492eb03a2b4036a66a3846780f4295da4af19c
1 change: 1 addition & 0 deletions Parser/action_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ _create_dummy_identifier(Parser *p)
void *
_PyPegen_dummy_name(Parser *p, ...)
{
// XXX This leaks memory from the initial arena.
static void *cache = NULL;

if (cache != NULL) {
Expand Down
0