summary refs log tree commit diff
path: root/docs/modules
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-03-21 22:23:08 +0000
committerDavid Robertson <davidr@element.io>2023-03-21 22:23:08 +0000
commite5afd0ab99847f3d3083d4522243f1c717c93ba0 (patch)
treeb25893d2e8b37b9ff633a3871cd5a14d0f84c196 /docs/modules
parentUpdate 15295.bugfix (diff)
downloadsynapse-e5afd0ab99847f3d3083d4522243f1c717c93ba0.tar.xz
Make event objects unhashable
Generally speaking one should look up an event by its id. Otherwise
we'll fall back to `object.__hash__` (the instance's address, under
CPython) which is probably not what you want.

Noticed in #15240.
Diffstat (limited to 'docs/modules')
0 files changed, 0 insertions, 0 deletions