Adam Dangoor <adamdang...@gmail.com> added the comment:

> The unexpected behavior occurs on CPython 3.5.3 and CPython 3.6.X but not on 
> pypy.

This suggests that it is something to do with garbage collection. Upon further 
thought, maybe this is by design, but I still was surprised.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31959>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to