-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(profiling): get_frame_name only look at arguments (#1684)
Looking for `self` and `cls` is not sufficient because they may have come from an outer scope. Make sure to check that they are coming from the frame's positional arguments. Co-authored-by: Anton Pirker <[email protected]>
- Loading branch information
1 parent
29431f6
commit d2547ea
Showing
2 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters