[issue44148] Raise a SystemError if frame is NULL in PyEval_GetGlobals

2021-05-17 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue44148] Raise a SystemError if frame is NULL in PyEval_GetGlobals

2021-05-16 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: 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. --

[issue44148] Raise a SystemError if frame is NULL in PyEval_GetGlobals

2021-05-16 Thread Shreyan Avigyan
Change by Shreyan Avigyan : -- keywords: +patch pull_requests: +24797 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26166 ___ Python tracker ___

[issue44148] Raise a SystemError if frame is NULL in PyEval_GetGlobals

2021-05-16 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Sorry, it's SystemError not RuntimeError -- title: Raise a RuntimeError if frame is NULL in PyEval_GetGlobals -> Raise a SystemError if frame is NULL in PyEval_GetGlobals ___ Python tracker