[3.13] gh-128231: Use `runcode()` return value for failing early (GH-129488) by miss-islington · Pull Request #130513 · python/cpython · GitHub
Skip to content

[3.13] gh-128231: Use runcode() return value for failing early (GH-129488) - #130513

Merged
hugovk merged 1 commit into
python:3.13from
miss-islington:backport-7ed3dc6-3.13
Mar 28, 2025
Merged

[3.13] gh-128231: Use runcode() return value for failing early (GH-129488)#130513
hugovk merged 1 commit into
python:3.13from
miss-islington:backport-7ed3dc6-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Feb 24, 2025

Copy link
Copy Markdown
Contributor

(cherry picked from commit 7ed3dc6)

Co-authored-by: Bartosz Sławecki bartoszpiotrslawecki@gmail.com

…onGH-129488)

(cherry picked from commit 7ed3dc6)

Co-authored-by: Bartosz Sławecki <bartoszpiotrslawecki@gmail.com>
@hugovk

hugovk commented Mar 28, 2025

Copy link
Copy Markdown
Member

@johnslavik

Copy link
Copy Markdown
Member

My intuition is that it can be simply worked-around by not printing a literal value, but e.g. 'after' + 'wards'. I suspect the input got into output, and that causes the failure.

@hugovk

hugovk commented Mar 28, 2025

Copy link
Copy Markdown
Member

In the meantime, I've made PR #131834 to revert.

@bedevere-app

bedevere-app Bot commented Mar 28, 2025

Copy link
Copy Markdown

GH-131834 is a backport of this pull request to the 3.13 branch.

@johnslavik

Copy link
Copy Markdown
Member

Fixing in the original branch (#129488).

@johnslavik

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-repl Related to the interactive shell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants