File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,17 @@ def compiler_directives(profile: bool):
1010 auto_pickle = False ,
1111 # Do not create __test__ dictionary automatically from docstrings
1212 autotestdict = False ,
13+ binding = False ,
14+ c_api_binop_methods = True ,
1315 # Do not check for division by 0 (this is about 35% quicker than with check)
1416 cdivision = True ,
17+ cpow = True ,
1518 # Embed a textual copy of the call signature in the docstring (to support tools like IPython)
1619 embedsignature = True ,
1720 fast_getattr = True ,
1821 # Use Python 3 (including source code semantics) for module compilation
1922 language_level = "3" ,
23+ legacy_implicit_noexcept = True ,
2024 # Enable support for late includes (make declarations in Cython code available to C include files)
2125 preliminary_late_includes_cy28 = True ,
2226 # Add hooks for Python profilers into the compiled C code
You can’t perform that action at this time.
0 commit comments