[New-bugs-announce] [issue13606] test_clear_dict_in_ref_cycle in test_module only works by coincidence

Mark Shannon report at bugs.python.org
Thu Dec 15 21:46:33 CET 2011


New submission from Mark Shannon <mark at hotpy.org>:

test_clear_dict_in_ref_cycle in test_module only works by coincidence,
if the name of the variable on line 77 is changed from 'a' to 'x', then the test fails.
This is a result of the arbitrary ordering of removals of values from a modules globals() during GC. 
Patch which passes in list, rather than using a global is attached.

----------
components: Tests
files: test_module.patch
keywords: patch
messages: 149574
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: test_clear_dict_in_ref_cycle in test_module only works by coincidence
type: behavior
Added file: http://bugs.python.org/file23967/test_module.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13606>
_______________________________________


More information about the New-bugs-announce mailing list