summary refs log tree commit diff
path: root/changelog.d/9270.misc
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2021-01-30 20:22:05 +0300
committerGitHub <noreply@github.com>2021-01-30 17:22:05 +0000
commit13c7ab81817df8f6028668ca318c6de1ad498313 (patch)
tree66279546dfcc814618e956cecabba73f219c15c6 /changelog.d/9270.misc
parentRatelimit invites by room and target user (#9258) (diff)
downloadsynapse-13c7ab81817df8f6028668ca318c6de1ad498313.tar.xz
Fixes for PyPy compatibility (#9270)
* synapse.app.base: only call gc.freeze() on CPython

gc.freeze() is an implementation detail of CPython garbage collector,
and notably does not exist on PyPy.

Rather than playing whack-a-mole and skipping the call when under PyPy,
simply restrict it to CPython because the whole gc module is
implementation-defined.

Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
Diffstat (limited to 'changelog.d/9270.misc')
-rw-r--r--changelog.d/9270.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9270.misc b/changelog.d/9270.misc
new file mode 100644
index 0000000000..908e5ee78b
--- /dev/null
+++ b/changelog.d/9270.misc
@@ -0,0 +1 @@
+Restore PyPy compatibility by not calling CPython-specific GC methods when under PyPy.