]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132775: Do Not Set __name__ to __main__ With _PyPickle_GetXIData() (gh-133472)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 5 May 2025 23:25:26 +0000 (17:25 -0600)
committerGitHub <noreply@github.com>
Mon, 5 May 2025 23:25:26 +0000 (17:25 -0600)
commite9616110aaecfbe5ec479fe6cf10aad6a68c0ccc
tree846d9c2b020c149ea72253d4a27d15d0e502bfbb
parent60cdd800d95517f4395210f38709de9e8f11ea90
gh-132775: Do Not Set __name__ to __main__ With _PyPickle_GetXIData() (gh-133472)

This is a follow-up to gh-133107.  I realized that we could end up with an
infinite recursion if we try to run a function from __main__ in a subinterpreter.
Python/crossinterp.c