-
-
Notifications
You must be signed in to change notification settings - Fork 445
Phantom lines reported on Python 3.8 #714
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
Comments
@lhupfeldt I've made some fixes. Can you try installing from GitHub to see if it works for you?
|
Solved! |
This fix is in 4.5.2, just released: https://pypi.org/project/coverage/4.5.2/ |
sethmlarson
added a commit
to sethmlarson/urllib3
that referenced
this issue
Dec 7, 2018
This was referenced Mar 18, 2020
This was referenced Jun 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(split off from #707)
@lhupfeldt said:
Here's my simple reproduction:
Multi-line function calls now include backwards steps in the bytecode-to-line number table, so that the execution can be attributed to the first line instead of the last. Those negative steps are being mis-interpreted by coverage, resulting in phantom lines.
The text was updated successfully, but these errors were encountered: