You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Name lookup in annotation scopes in classes does not work with non-dict globals #119821
3.12 refleak buildbots started failing when the backport was merged.
$ ./python -m test test_type_params -R:
Using random seed: 3855735070
0:00:00 load avg: 0.70 Run 1 test sequentially
0:00:00 load avg: 0.70 [1/1] test_type_params
beginning 9 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
12345:6789
XXXXX XXXX
test_type_params leaked [12, 12, 12, 12] references, sum=48
test_type_params leaked [8, 8, 8, 8] memory blocks, sum=32
test_type_params failed (reference leak)
== Tests result: FAILURE ==
1 test failed:
test_type_params
Total duration: 326 ms
Total tests: run=83
Total test files: run=1/1 failed=1
Result: FAILURE
Activity
gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#11…
pythongh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (
[3.12] pythongh-119821: Support non-dict globals in LOAD_FROM_DICT_OR…
[3.13] gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBA…
[3.12] gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBA…
encukou commentedon Jun 3, 2024
3.12 refleak buildbots started failing when the backport was merged.
[3.12] pythongh-119821: Fix refleak in LOAD_FROM_DICT_OR_GLOBALS
[3.12] gh-119821: Fix refleak in LOAD_FROM_DICT_OR_GLOBALS (#119975)
JelleZijlstra commentedon Jun 5, 2024
Thanks @encukou for noticing the refleak! This has been fixed now.
pythongh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (
pythongh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (
[3.12] pythongh-119821: Fix refleak in LOAD_FROM_DICT_OR_GLOBALS