Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
bpo-37903: IDLE: Shell sidebar with prompts (take #2) #22682
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
Uh oh!
There was an error while loading. Please reload this page.
bpo-37903: IDLE: Shell sidebar with prompts (take #2) #22682
Changes from 1 commit
7adb9ad26bbaec9076da5cad2cd14040e269b3103137a0db3c76682250bd0826f186f0f7f3de9e929ea7d04bfa381f485246be85e1fc4bcb6f1c975083fede4ad72a1009e08de524cce3ea29867f9182f10aaf1d7c9190150ca9c623c218f6cef0a9a018135525fe447b8913d8c8d0c07ecc843bedb1cbeee04537afcb578a7dd606efb968cc3792497576da2aa4e1a71f343e45e66a5dbe931c779adc48f81915ddc0026d1e0d320516db9afa66699d06f2673146fb19b16a4ecab8847b2d9dcd6e35ccf6c9a7c990cef4e86353ba1891a43e52c5dcc709ab093544a474c11afde793a916e0d38ada0a7c1871f2File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Prompts are now marked in the text by adding the "console" tag to the newline character ('\n') before the beginning of the line. This works around issues with the prompt itself usually no longer being written in the text widget. With another small fix to the PyShell.recall() method, input lines can now be recognized consistently by checking for the "stdin" tag. This is much better than attempting to separately track the prompt and input lines, since those are difficult to keep up to date after undo/redo actions and squeezing/unsqueezing of previous output.Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing