-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
Spurious LINE event when tracing asyncio.tasks.sleep
#92236
Comments
Reproducer: |
Is there any chance of this being addressed in time for 3.11b1? |
Sorry, I was unable to reproduce this, so I couldn't make for a test for it nor fix it. I think I know what the issue is now. |
Where does this leave us? Is this something that will change in CPython, or does coverage.py need to adapt? |
I'm fixing it. It just didn't make it into 3.11b1, obviously. It will be in 3.11b2 |
…or generator. (pythonGH-92722) (cherry picked from commit 22a1db3) Co-authored-by: Mark Shannon <mark@hotpy.org>
@nedbat thanks once again for finding yet another tracing bug. |
It's my only CPython expertise! Happy to help :) |
See nedbat/coveragepy#1368 (comment) for report.
Although this occurs in
asyncio.tasks.sleep
I suspect that this this is more generally related to entering coroutines and generators.The text was updated successfully, but these errors were encountered: