gh-139289: Lazy import rlcompleter to fix the refleak (#139305) · python/cpython@8288f36 · GitHub
Skip to content

Commit 8288f36

Browse files
gh-139289: Lazy import rlcompleter to fix the refleak (#139305)
1 parent f04bea4 commit 8288f36

3 files changed

Lines changed: 29 additions & 11 deletions

File tree

Lib/pdb.py

Lines changed: 27 additions & 10 deletions

Lib/test/test_pyclbr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def test_others(self):
250250
'pdb',
251251
# pyclbr does not handle elegantly `typing` or properties
252252
ignore=('Union', '_ModuleTarget', '_ScriptTarget', '_ZipTarget', 'curframe_locals',
253-
'_InteractState'),
253+
'_InteractState', 'rlcompleter'),
254254
)
255255
cm('pydoc', ignore=('input', 'output',)) # properties
256256

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)