[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 mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com