New submission from Mark Shannon <m...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13606>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to