Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

_pyrepl.readline._ReadlineWrapper.get_line_buffer should return astr, not abytes object #123228

Closed
Labels
topic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error
@cfbolz

Description

@cfbolz

Bug report

Bug description:

_pyrepl.readline._ReadlineWrapper.get_line_buffer should return astr, not abytes object, becausereadline.get_line_buffer also returns anstr, not abytes.

this has very little effect in CPython, but in PyPy it causes various problem, because we don't have areadline 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp