Skip to content
Snippets Groups Projects
Unverified Commit 13c7ab81 authored by Ivan Shapovalov's avatar Ivan Shapovalov Committed by GitHub
Browse files

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: default avatarIvan Shapovalov <intelfx@intelfx.name>
parent f2c1560e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment