We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(I don't know if this is intended behavior, so I don't know if it's a bug.)
It seems scalene doesn't see the code for functions loaded by exec. If I have a file like this:
exec
def function(): [x+x for x in range(100000)] [x*x for x in range(100000)] function() function()
and run scalene scalene_test1.py, I get:
scalene scalene_test1.py
But if the file has this:
code = ''' def function(): [x+x for x in range(100000)] [x*x for x in range(100000)] ''' exec(code) function() function()
I get this:
What's up with that? Is this intended behavior?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(I don't know if this is intended behavior, so I don't know if it's a bug.)
It seems scalene doesn't see the code for functions loaded by
exec
. If I have a file like this:and run
scalene scalene_test1.py
, I get:But if the file has this:
I get this:
What's up with that? Is this intended behavior?
The text was updated successfully, but these errors were encountered: