Armin Rigo added the comment:

I'll admit I don't know how to properly fix this issue.  What I came up with so 
far would need an atomic compare_and_delete operation on the dictionary 
self.data, so that we can do atomically:

+                elif self.data[wr.key] is wr:
                     del self.data[wr.key]

----------

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

Reply via email to