Commit 4842d98b authored by Stefan Behnel's avatar Stefan Behnel

re-enable "profile" and "linetrace" directives at class/function level to...

re-enable "profile" and "linetrace" directives at class/function level to allow switching it on and off for specific code sections
parent 0afe7a83
...@@ -305,8 +305,6 @@ directive_scopes = { # defaults to available everywhere ...@@ -305,8 +305,6 @@ 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',),
......
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