Bug report
Bug description:
_pyrepl.readline._ReadlineWrapper.get_line_buffer should return a str, not a bytes object, because readline.get_line_buffer also returns an str, not a bytes.
this has very little effect in CPython, but in PyPy it causes various problem, because we don't have a readline module at all, and use _pyrepl.readline instead.
I'm working on a PR.
CPython versions tested on:
3.13, CPython main branch
Operating systems tested on:
No response
Linked PRs
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