Alexey Kazantsev added the comment:
Ok, even assuming that all module globals are in circular reference starting
with python 3.4, here is another example without using the globals:
Brief description:
v holds reference to d
a.v = v
b.d = d
Now when we form a circular reference a <->
New submission from Alexey Kazantsev:
Pythons prior to 3.4.0 print
Vector!
Device!
while >=3.4.0 print
Device!
Vector!
If we replace Main with Vector on line 21, the behavior becomes random: in 50%
of all cases it prints the wrong sequence, in other 50% the right. Our team
treats this a
Changes by Alexey Kazantsev :
--
components: +Interpreter Core
___
Python tracker
<http://bugs.python.org/issue23720>
___
___
Python-bugs-list mailing list
Unsub