summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
diff options
context:
space:
mode:
authorda-woods <dw-git@d-woods.co.uk>2021-09-27 09:58:20 +0100
committerGitHub <noreply@github.com>2021-09-27 10:58:20 +0200
commitf94f26a073ee5c9987ccab6acb87ad453c6ec625 (patch)
treea7cb83fbc661e981b52285d88ae703bab40eadf3 /Cython/Compiler/ModuleNode.py
parent740305526a702f08e462f20a8ba6f9013126f330 (diff)
downloadcython-f94f26a073ee5c9987ccab6acb87ad453c6ec625.tar.gz
Make __Pyx_CoroutineAwaitType non-pickleable (GH-4381)
This is explicitly tested for: https://github.com/cython/cython/blob/aea4e6b84b38223c540266f8c57093ee2039f284/tests/run/test_coroutines_pep492.pyx#L2400 It turns out some earlier versions of Python assume that C-API classes without a dict or slot are pickleable by the class name. Currently it isn't pickleable because the class name lookup is failing but this change makes it more robust. See https://github.com/cython/cython/pull/4376
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
0 files changed, 0 insertions, 0 deletions