You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self = <WeakKeyDictionary at 0x105c17430>, key = ()
def __getitem__(self, key):
> return self.data[ref(key)]
E TypeError: cannot create weak reference to 'tuple' object
../../../.pyenv/versions/3.10.4/lib/python3.10/weakref.py:416: TypeError
Because the tuple is builtin and I couldn't resolve this weakref issue easily. @Zac-HD suggested to use 'str' instead of tuples, but it would be great if event can accepts tuples and other hashable objects.
The text was updated successfully, but these errors were encountered:
As reported at StackOverflow, I tried to take the statistics of generated list values with
event
.The code above raised an TypeError saying:
Because the tuple is builtin and I couldn't resolve this weakref issue easily. @Zac-HD suggested to use 'str' instead of tuples, but it would be great if
event
can accepts tuples and other hashable objects.The text was updated successfully, but these errors were encountered: