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

Sometimes keystrokes are swallowed in the new REPL on Windows #139262

Closed
Labels
OS-windowsstdlibStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error
@chris-eibl

Description

@chris-eibl

Bug report

Bug description:

Especially when using the meta (ALT) key.

For instance,Alt +b for

(r"\M-b","backward-word"),

the first hit is swallowed in a Windwos Terminal.

It happens, when there is nothing to be read from the console, i.e.

defwait(self,timeout:float|None)->bool:

returnsFalse but there is data inself.event_queue. The fix is easy and brings us in sync with
defwait(self,timeout:float|None=None)->bool:
"""
Wait for events on the console.
"""
return (
notself.event_queue.empty()
orbool(self.pollob.poll(timeout))
)
.

CPython versions tested on:

3.14, CPython main branch

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsstdlibStandard Library Python modules in the Lib/ directorytopic-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-2026 Movatter.jp