Visitar URL original
gh-115103: Update gc.collect to process delayed objects by corona10 · Pull Request #116238 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/test/support/__init__.py
  • Loading branch information
corona10 authored Mar 2, 2024
commit 81f333a4bb011b9432fc504863e8667383e09f2d
1 change: 1 addition & 0 deletions Lib/test/support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ def gc_collect():
gc.collect()
gc._collect_delayed_objects()
Comment thread
corona10 marked this conversation as resolved.
Outdated


@contextlib.contextmanager
def disable_gc():
import gc
Expand Down