Skip to content

bpo-44895: libregrtest: refleak check clears types later (GH-28113)#3

Merged
sakibguy merged 1 commit intosakibguy:mainfrom
python:main
Sep 2, 2021
Merged

bpo-44895: libregrtest: refleak check clears types later (GH-28113)#3
sakibguy merged 1 commit intosakibguy:mainfrom
python:main

Conversation

@sakibguy
Copy link
Copy Markdown
Owner

@sakibguy sakibguy commented Sep 2, 2021

libregrtest now clears the type cache later to reduce the risk of
false alarm when checking for reference leaks. Previously, the type
cache was cleared too early and libregrtest raised a false alarm
about reference leaks under very specific conditions.

Move also support.gc_collect() outside clear/cleanup functions to
make the garbage collection more explicit.

Co-authored-by: Irit Katriel 1055913+iritkatriel@users.noreply.github.com

libregrtest now clears the type cache later to reduce the risk of
false alarm when checking for reference leaks. Previously, the type
cache was cleared too early and libregrtest raised a false alarm
about reference leaks under very specific conditions.

Move also support.gc_collect() outside clear/cleanup functions to
make the garbage collection more explicit.

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
@sakibguy sakibguy self-assigned this Sep 2, 2021
@sakibguy sakibguy merged commit 02d1195 into sakibguy:main Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants