[issue44032] Function locals and evaluation stack should be stored in a contiguous, per-thread stack
Pablo Galindo Salgado
report at bugs.python.org
Fri May 21 14:55:49 EDT 2021
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
Is the test added here:
https://github.com/python/cpython/pull/26274
import ast
import builtins
import sys
import os
tree = ast.parse("pass")
x = [tree]
x.append(x)
# Put the cycle somewhere to survive until the *last* GC collection
def callback(*args):
pass
callback.a = x
os.register_at_fork(after_in_child=callback)
----------------
If this doesn't work maybe Erlend may help you reproducing this.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44032>
_______________________________________
More information about the Python-bugs-list
mailing list