summaryrefslogtreecommitdiff
path: root/Cython/Compiler/Options.py
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Compiler/Options.py')
-rw-r--r--Cython/Compiler/Options.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cython/Compiler/Options.py b/Cython/Compiler/Options.py
index 48695dbfc..d03119fca 100644
--- a/Cython/Compiler/Options.py
+++ b/Cython/Compiler/Options.py
@@ -179,6 +179,7 @@ _directive_defaults = {
'cdivision': False, # was True before 0.12
'cdivision_warnings': False,
'c_api_binop_methods': True,
+ 'cpow': True,
'overflowcheck': False,
'overflowcheck.fold': True,
'always_allow_keywords': False,
@@ -318,6 +319,7 @@ directive_types = {
'freelist': int,
'c_string_type': one_of('bytes', 'bytearray', 'str', 'unicode'),
'c_string_encoding': normalise_encoding_name,
+ 'cpow': bool
}
for key, val in _directive_defaults.items():