Visitar URL original
bpo-44148: Raise a SystemError if frame is NULL in PyEval_GetGlobals by shreyanavigyan · Pull Request #26166 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20260401130405/https://github.com/python/cpython/pull/26166
Skip to content
/ cpython Public

bpo-44148: Raise a SystemError if frame is NULL in PyEval_GetGlobals#26166

Closed
shreyanavigyan wants to merge 2 commits intopython:mainfrom
shreyanavigyan:bpo-44148
Closed

bpo-44148: Raise a SystemError if frame is NULL in PyEval_GetGlobals#26166
shreyanavigyan wants to merge 2 commits intopython:mainfrom
shreyanavigyan:bpo-44148

Conversation

@shreyanavigyan
Copy link
Copy Markdown
Contributor

@shreyanavigyan shreyanavigyan commented May 16, 2021 •

PyEval_GetGlobals will now raise a SystemError and return NULL if frame is NULL.

https://bugs.python.org/issue44148

@shreyanavigyan
Copy link
Copy Markdown
Contributor Author

I don't know much about ceval.c functions, so is there a reason PyEval_GetGlobals doesn't raise an error? I'm sorry for creating noise about it if the current behavior is intended. I'll close the issue and the PR then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants