Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
d1904794
Commit
d1904794
authored
Feb 25, 2011
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CLeanup Options.py
parent
5691e177
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Cython/Compiler/Options.py
Cython/Compiler/Options.py
+9
-9
No files found.
Cython/Compiler/Options.py
View file @
d1904794
...
...
@@ -2,10 +2,10 @@
# Cython - Compilation-wide options and pragma declarations
#
cache_builtins
=
1
# Perform lookups on builtin names only once
cache_builtins
=
True
# Perform lookups on builtin names only once
embed_pos_in_docstring
=
0
gcc_branch_hints
=
1
embed_pos_in_docstring
=
False
gcc_branch_hints
=
True
pre_import
=
None
docstrings
=
True
...
...
@@ -14,9 +14,9 @@ docstrings = True
# 0: None, 1+: interned objects, 2+: cdef globals, 3+: types objects
# Mostly for reducing noise for Valgrind, only executes at process exit
# (when all memory will be reclaimed anyways).
generate_cleanup_code
=
0
generate_cleanup_code
=
False
annotate
=
0
annotate
=
False
# This will abort the compilation on the first error occured rather than trying
# to keep going and printing further error messages.
...
...
@@ -29,19 +29,19 @@ fast_fail = False
# i to overflow. Specifically, if this option is set, an error will be
# raised before the loop is entered, wheras without this option the loop
# will execute until an overflowing value is encountered.
convert_range
=
1
convert_range
=
True
# Enable this to allow one to write your_module.foo = ... to overwrite the
# definition if the cpdef function foo, at the cost of an extra dictionary
# lookup on every call.
# If this is 0 it simply creates a wrapper.
lookup_module_cpdef
=
0
lookup_module_cpdef
=
False
# This will set local variables to None rather than NULL which may cause
# surpress what would be an UnboundLocalError in pure Python but eliminates
# checking for NULL on every use, and can decref rather than xdecref at the end.
# WARNING: This is a work in progress, may currently segfault.
init_local_none
=
1
init_local_none
=
True
# Whether or not to embed the Python interpreter, for use in making a
# standalone executable or calling from external libraries.
...
...
@@ -50,7 +50,7 @@ init_local_none = 1
embed
=
None
# Disables function redefinition, allowing all functions to be declared at
# module creation time. For legacy code only.
# module creation time. For legacy code only.
Needed for some circular imports.
disable_function_redefinition
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment