Antoine Pitrou added the comment:
I went ahead and committed this, so that the effect of other improvements in
the area stand out better.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
Roundup Robot added the comment:
New changeset 8584f63e570e by Antoine Pitrou in branch 'default':
Issue #18621: Prevent the site module's patched builtins from keeping too many
references alive for too long.
http://hg.python.org/cpython/rev/8584f63e570e
--
nosy: +python-dev
__
New submission from Antoine Pitrou:
The site module patches the builtins module unless Python is run with -S.
Unfortunately, this means the builtins dict then keeps the site module globals
alive until the end of interpreter shutdown, preventing the garbage collection
of many other objects or m