Skip to content

improve the way statement ranges are caculcated #58

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

Merged
merged 5 commits into from
May 29, 2020

Conversation

samuelcolvin
Copy link
Owner

fixes #56

This should:

  • allow multiline debug statements to work on python 3.8
  • speed up introspection by going straight to sys._getframe() and dis rather than using inspect and regexes (this might not have a significant effect since I think pygments responsible for most of the slowness)

@codecov
Copy link

codecov bot commented May 28, 2020

Codecov Report

Merging #58 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #58   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          333       362   +29     
  Branches        47        57   +10     
=========================================
+ Hits           333       362   +29     

@samuelcolvin samuelcolvin force-pushed the statement-range-improvements branch from 0d4a0b9 to eaaebbe Compare May 28, 2020 20:42
@samuelcolvin samuelcolvin merged commit a506842 into master May 29, 2020
@samuelcolvin samuelcolvin deleted the statement-range-improvements branch May 29, 2020 08:34
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.

debug is broken for multiple statements in python 3.8
1 participant