New submission from mlwtc <meistud...@163.com>:
>>> from tkinter import * >>> root = Tk() >>> text1 = Text(root,width=30,height=3) >>> text1.insert(INSERT,'abcdefghijklmnopqrstuvwxyz123456789123456789') >>> print(text1.get(1.0,1.30)) abc >>> print(text1.get(1.0,1.31)) abcdefghijklmnopqrstuvwxyz12345 >>> print(text1.get(1.0,1.20)) ab >>> print(text1.get(1.0,1.21)) abcdefghijklmnopqrstu >>> print(text1.get(1.0,1.10)) a >>> print(text1.get(1.0,1.11)) abcdefghijk >>> print(text1.get(1.0,1.9)) abcdefghi Is there a bug here? ---------- components: Build messages: 361212 nosy: mlwtc priority: normal severity: normal status: open title: print(text1.get(1.2,1.5)) type: compile error versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39526> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com