Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit a646a24

Browse files
author
Matthias Koeppe
committed
src/sage_setup/cython_options.py: Restore auto_pickle=False
1 parent 3fcd71f commit a646a24

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage_setup/cython_options.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ def compiler_directives(profile: bool):
55
Returns a list of Cython directives used for compilation.
66
"""
77
return dict(
8+
# Do not generate __reduce__ methods
9+
auto_pickle=False,
810
# Do not create __test__ dictionary automatically from docstrings
911
autotestdict=False,
1012
# Do not check for division by 0 (this is about 35% quicker than with check)
@@ -29,4 +31,4 @@ def compile_time_env_variables():
2931
# The following two constants are here only for backwards compatibility of user packages
3032
PY_VERSION_HEX=sys.hexversion,
3133
PY_MAJOR_VERSION=sys.version_info[0]
32-
)
34+
)

0 commit comments

Comments
 (0)