Skip to content

gh-106176: Fix reference leak in importlib/_bootstrap.py#106207

Closed
Eclips4 wants to merge 1 commit intopython:mainfrom
Eclips4:issue-106176
Closed

gh-106176: Fix reference leak in importlib/_bootstrap.py#106207
Eclips4 wants to merge 1 commit intopython:mainfrom
Eclips4:issue-106176

Conversation

@Eclips4
Copy link
Copy Markdown
Member

@Eclips4 Eclips4 commented Jun 28, 2023

@Eclips4
Copy link
Copy Markdown
Member Author

Eclips4 commented Jun 28, 2023

@Eclips4
Copy link
Copy Markdown
Member Author

Eclips4 commented Jun 28, 2023

There's no tests for case which solved by #94504, so I'm somewhat unsure if this is the right solution

However, refleaks in test_concurrency and PyUnpicklerTests (which related to issue with refleaks in test_pickle on Windows) are gone.

@brettcannon
Copy link
Copy Markdown
Member

@exarkun any opinions on this fix?

@sunmy2019
Copy link