Skip to content

New REPL does not work well with Tkinter #121588

Description

@serhiy-storchaka

Bug report

The simplest example, import Tkinter and create the root widget:

>>> import tkinter
>>> root = tkinter.Tk()
>>> █

A new Tk window appeared and grabbed the focus. Switch back to the terminal and press the <Up> key -- nothing changed:

>>> import tkinter
>>> root = tkinter.Tk()
>>> █

Press it again -- the last entered line appeared for editing:

>>> import tkinter
>>> root = tkinter.Tk()
>>> root = tkinter.Tk()█

Press the <Enter> key and the edited line will be replaced by another line which will execute:

>>> import tkinter
>>> root = tkinter.Tk()
>>> import tkinter
>>> █

cc @pablogsal

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixes3.14bugs and security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions