Fish Wang added the comment:
Just checked weakref.py on different branches, I think this bug exists in
Python 2.7, 3.4, 3.5, and 3.6 as well.
--
___
Python tracker
<https://bugs.python.org/issue35
Fish Wang added the comment:
Just submitted a PR against the master branch on GitHub.
> This can be apply to 3.8?
I think so.
--
___
Python tracker
<https://bugs.python.org/issu
Fish Wang added the comment:
Thanks for your reply.
I'm preparing a PR. However, I'm not sure how to write a reliable test case to
trigger the crash outside my application. I will submit the PR for now, and see
if anyone on the mailing list has a better idea of what a reliable
New submission from Fish Wang :
I come across this issue recently when developing a multi-threaded PySide2 (Qt)
application. When I'm calling .copy() on a WeakValueDictionary, there is a high
chance that my application crashes with the following stack backtrace:
--
Traceback