Commit e6161510 authored by Stefan Behnel's avatar Stefan Behnel

mark "linetrace" and "profile" as module level directives

parent d672f6f0
......@@ -39,6 +39,9 @@ Bugs fixed
* Some function signatures in ``libc.math`` and ``numpy.pxd`` were incorrect.
Patch by Michael Seifert.
* Misplaced usages of the module-level ``linetrace`` and ``profile`` directives
were silently ignored.
Other changes
-------------
......
......@@ -305,6 +305,8 @@ directive_scopes = { # defaults to available everywhere
'c_string_encoding': ('module',),
'type_version_tag': ('module', 'cclass'),
'language_level': ('module',),
'linetrace': ('module',),
'profile': ('module',),
# globals() could conceivably be controlled at a finer granularity,
# but that would complicate the implementation
'old_style_globals': ('module',),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment