Skip to content
New issue

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

Fixed scalene looping infinitely in some functions #335

Merged
merged 4 commits into from
Jan 24, 2022
Merged

Conversation

sternj
Copy link
Collaborator

@sternj sternj commented Jan 24, 2022

Fixed an anomalous loop condition that I suspect caused #201 as well as several other bits of weirdness. Logic was supposed to be "If code in a special block such as <module> or <listcomp>, keep going back in the stack until you find real code", but this logic has been around for a long time.

scalene/scalene_profiler.py Outdated Show resolved Hide resolved
@sternj sternj merged commit 07b7c04 into master Jan 24, 2022
@sternj sternj deleted the fix_loop_condition branch January 24, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants