Windson Yang <wiwind...@outlook.com> added the comment:

In the docs 
https://docs.python.org/3/extending/newtypes.html#weak-reference-support points 
out:

> /* Clear weakrefs first before calling any destructors */

So maybe we should also update the docs after fix this bug. Anyway, I will try 
to understand/fix this bug.

----------
nosy: +Windson Yang
versions: +Python 3.6, Python 3.7

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

Reply via email to