GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-111201: Allow pasted code to contain multiple statements in the REPL by pablogsal · Pull Request #118712 · python/cpython

Conversation

@pablogsal

@pablogsal pablogsal commented May 7, 2024 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Issue: A new Python REPL #111201

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

network-shark reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@pablogsal
pythongh-111201: Allow pasted code to contain multiple statements in …
672d1b4
…the REPL
@bedevere-app bedevere-app Bot added the awaiting core review label May 7, 2024
@bedevere-app bedevere-app Bot mentioned this pull request May 7, 2024
A new Python REPL #111201
Closed
7 tasks done
@ambv ambv added the skip news label May 7, 2024
lysnikolaou
lysnikolaou approved these changes May 7, 2024
View reviewed changes
Comment thread Lib/test/test_pyrepl.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels May 7, 2024
@ambv
Fix CI
1525bcf
@ambv
ambv enabled auto-merge (squash) May 7, 2024 14:20
pablogsal added 2 commits May 7, 2024 15:49
@pablogsal
Fix this better by detecting paste mode
b060efa
@pablogsal
Merge remote-tracking branch 'upstream/main' into nopastebreak
7c8ca7f
@pablogsal
pablogsal force-pushed the nopastebreak branch from 7429e73 to 7c8ca7f Compare May 7, 2024 14:50
ambv and others added 4 commits May 7, 2024 16:54
@ambv
Mypy thinks we're still in 3.12 land
9db8478
@ambv
Mypy still thinks we're still in 3.12 land
632dbea
@pablogsal
Mark dirty in end bracketed paste
dc58f5d
@lysnikolaou
Add test for single line bracketed paste
7331e9b
ambv
ambv reviewed May 7, 2024
View reviewed changes
Comment thread Lib/test/test_pyrepl.py


if __name__ == "__main__":
if __name__ == '__main__':

@ambv ambv May 7, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WHAT IS THIS

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lysnikolaou, AlexWaygood, danielhollas, treyhunner, and hauntsaninja reacted with laugh emoji
All reactions
  • 😄 5 reactions

@pablogsal pablogsal May 7, 2024

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The resistance won't be defeated

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

AlexWaygood reacted with rocket emoji
All reactions
  • 🚀 1 reaction
@ambv
ambv merged commit a94ac56 into python:main May 7, 2024
@bedevere-app bedevere-app Bot removed the awaiting merge label May 7, 2024
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
@pablogsal @ambv @SonicField
pythongh-111201: Allow pasted code to contain multiple statements in …
6e296b3
…the REPL (python#118712)

Co-authored-by: Łukasz Langa <[email protected]>
@ambv ambv added the topic-repl Related to the interactive shell label May 23, 2024
@pablogsal
pablogsal deleted the nopastebreak branch September 24, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ambv ambv ambv left review comments
@lysnikolaou lysnikolaou lysnikolaou approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news topic-repl Related to the interactive shell

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@pablogsal @ambv @lysnikolaou
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.