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
e6161510
Commit
e6161510
authored
Aug 31, 2016
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mark "linetrace" and "profile" as module level directives
parent
d672f6f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
CHANGES.rst
CHANGES.rst
+3
-0
Cython/Compiler/Options.py
Cython/Compiler/Options.py
+2
-0
No files found.
CHANGES.rst
View file @
e6161510
...
@@ -39,6 +39,9 @@ Bugs fixed
...
@@ -39,6 +39,9 @@ Bugs fixed
* Some function signatures in ``libc.math`` and ``numpy.pxd`` were incorrect.
* Some function signatures in ``libc.math`` and ``numpy.pxd`` were incorrect.
Patch by Michael Seifert.
Patch by Michael Seifert.
* Misplaced usages of the module-level ``linetrace`` and ``profile`` directives
were silently ignored.
Other changes
Other changes
-------------
-------------
...
...
Cython/Compiler/Options.py
View file @
e6161510
...
@@ -305,6 +305,8 @@ directive_scopes = { # defaults to available everywhere
...
@@ -305,6 +305,8 @@ directive_scopes = { # defaults to available everywhere
'c_string_encoding'
:
(
'module'
,),
'c_string_encoding'
:
(
'module'
,),
'type_version_tag'
:
(
'module'
,
'cclass'
),
'type_version_tag'
:
(
'module'
,
'cclass'
),
'language_level'
:
(
'module'
,),
'language_level'
:
(
'module'
,),
'linetrace'
:
(
'module'
,),
'profile'
:
(
'module'
,),
# globals() could conceivably be controlled at a finer granularity,
# globals() could conceivably be controlled at a finer granularity,
# but that would complicate the implementation
# but that would complicate the implementation
'old_style_globals'
:
(
'module'
,),
'old_style_globals'
:
(
'module'
,),
...
...
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