-
-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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.readline._ReadlineWrapper.get_line_buffer should return a str, not a bytes object
#123228
Labels
Comments
|
I took liberty to post a pr: #123281 |
cfbolz
added a commit
that referenced
this issue
Aug 24, 2024
…23281) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 24, 2024
…() (pythonGH-123281) (cherry picked from commit ca18ff2) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
|
this is now fixed, thanks everyone! |
|
Ouch, there's a leaking file descriptor in the new test: #123281 (comment) |
pablogsal
pushed a commit
that referenced
this issue
Aug 25, 2024
pablogsal
pushed a commit
that referenced
this issue
Aug 25, 2024
|
ok, hopefully we're actually done this time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug report
Bug description:
_pyrepl.readline._ReadlineWrapper.get_line_buffershould return astr, not abytesobject, becausereadline.get_line_bufferalso returns anstr, not abytes.this has very little effect in CPython, but in PyPy it causes various problem, because we don't have a
readlinemodule at all, and use_pyrepl.readlineinstead.I'm working on a PR.
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: