Skip to content
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

pyrepl doesn't print result if any part came from paste #119076

Closed
gvanrossum opened this issue May 15, 2024 · 2 comments
Closed

pyrepl doesn't print result if any part came from paste #119076

gvanrossum opened this issue May 15, 2024 · 2 comments
Labels
topic-repl Related to the interactive shell type-bug An unexpected behavior, bug, or error

Comments

@gvanrossum
Copy link
Member

gvanrossum commented May 15, 2024

Bug report

Bug description:

Below, the first occurrence of "copyright" was pasted in. The second occurrence was pulled from history using up-arrow. Note that the former doesn't print the result.

~/cpython$ ./python.exe 
Python 3.14.0a0 (heads/main:7e894c2f38f, May 11 2024, 14:54:01) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> "copyright"
>>> "copyright"
'copyright'
>>> 

Worse, even if any part of a line was pasted in, it seems the result isn't printed.

It's the same in 3.13b1.

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

@gvanrossum gvanrossum added type-bug An unexpected behavior, bug, or error topic-repl Related to the interactive shell labels May 15, 2024
@hugovk
Copy link
Member

hugovk commented May 15, 2024

This is a duplicate of #118893.

@hugovk hugovk closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
@gvanrossum
Copy link
Member Author

This is a duplicate of #118893.

Sorry about that. I searched but didn't find that issue somehow.

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 type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants