This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients Mark.Shannon, erlendaasland, kj, pablogsal, vstinner
Date 2021-05-21.18:55:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621623349.2.0.725338866232.issue44032@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-05-21 18:55:49pablogsalsetrecipients: + pablogsal, vstinner, Mark.Shannon, erlendaasland, kj
2021-05-21 18:55:49pablogsalsetmessageid: <1621623349.2.0.725338866232.issue44032@roundup.psfhosted.org>
2021-05-21 18:55:49pablogsallinkissue44032 messages
2021-05-21 18:55:49pablogsalcreate