[New-bugs-announce] [issue44442] Globals (and presumably builtins) are cleared premuturely in FrameObject

Mark Shannon report at bugs.python.org
Thu Jun 17 07:14:29 EDT 2021


New submission from Mark Shannon <mark at hotpy.org>:

When calling frame.clear(), the globals (and builtins) are cleared.
This is not the case in 3.10. We should restore the 3.10 behavior, as there is no reason not to.


Victor, you've mentioned this problem. Did you have a specific example I can add as a test?

----------
assignee: Mark.Shannon
messages: 395995
nosy: Mark.Shannon, vstinner
priority: normal
severity: normal
status: open
title: Globals (and presumably builtins) are cleared premuturely in FrameObject
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44442>
_______________________________________


More information about the New-bugs-announce mailing list