-
Notifications
You must be signed in to change notification settings - Fork 294
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
Running cells in quick succession doesn't behave as expected #6982
Comments
Moving to triage, as i think this is a |
Try to repro. May be fixed |
Still repros but only on first open. If the window is already open, then it behaves as expected. |
Also you have to click the link 3 times. If you click it once it works fine. |
I can repro all the time. |
Verification is pretty easy here. Just create a .py file with a few cell markers defined. In each cell just do a small timing loop to burn a second or two of time. Then trigger something like Run Below from the top code lens twice. In the old code you would get Cell A, Cell A, Cell B, Cell B, Cell C, Cell C. Now we get each command handled in order, so Cell A, Cell B, Cell C, Cell A, Cell B, Cell C. |
/verified |
Version: 1.60.0-insider (user setup)
Commit: a4eb4d688477fb9f2176bb2ed932b0b1726caed3
Date: 2021-08-05T21:34:13.867Z (2 hrs ago)
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Windows_NT x64 10.0.22000
Actual
Expected
'a' should be 2, right?
The reason this is the case can be seen in the execution history of the Interactive window:
I would have expected the history to show 3 consecutive copies of the 3 cells in the script running. Rather than each cell being run 3 times in a row.
This may seem contrived, but I ran into it by accident and I suspect that real situations could arise where things get goofed up and the user doesn't realize it.
The text was updated successfully, but these errors were encountered: