Author Dennis Sweeney
Recipients Dennis Sweeney
Date 2020-02-09.05:02:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581224573.69.0.537740260718.issue39590@roundup.psfhosted.org>
In-reply-to
Content
Similar to https://bugs.python.org/issue39453, but with deques:

Python 3.9.0a3+:

>>> from collections import deque
>>> class A:
...     def __eq__(self, other):
...         L.clear()
...         return NotImplemented
...
>>> L = [A(), A(), A()]
>>> 17 in L
False
>>> L = deque([A(), A(), A()])
>>> 17 in L

(Crashes with "Unhandled exception thrown: read access violation.")
History
Date User Action Args
2020-02-09 05:02:53Dennis Sweeneysetrecipients: + Dennis Sweeney
2020-02-09 05:02:53Dennis Sweeneysetmessageid: <1581224573.69.0.537740260718.issue39590@roundup.psfhosted.org>
2020-02-09 05:02:53Dennis Sweeneylinkissue39590 messages
2020-02-09 05:02:53Dennis Sweeneycreate