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
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/.../env/lib/python3.10/site-packages/pyee/base.py", line 229, in listeners
return list(self._events[event].keys())
KeyError: 'foo'
>>>
since version 9.0.0. In version <8 it was returning an empty list instead. This most likely broke in #99 when the defaultdict of EventEmitter._events got changed to a normal dict.
The text was updated successfully, but these errors were encountered:
The following:
results in:
since version 9.0.0. In version
<8
it was returning an empty list instead. This most likely broke in #99 when thedefaultdict
ofEventEmitter._events
got changed to a normaldict
.The text was updated successfully, but these errors were encountered: