[New-bugs-announce] [issue18246] tkinter.Text() add a newline to the content - bug?

Friedrich Spee von Langenfeld report at bugs.python.org
Mon Jun 17 22:04:58 CEST 2013


New submission from Friedrich Spee von Langenfeld:

Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> from tkinter import*
>>> root = Tk()
>>> text = Text()
>>> text.pack()
>>> text.insert(1.0, "Hello")
>>> text.get(1.0, END)
'Hello\n'

The tkinter.Text() widget add a newline (\n) to its content. Is this behavior a bug?

----------
components: Tkinter
messages: 191370
nosy: Friedrich.Spee.von.Langenfeld
priority: normal
severity: normal
status: open
title: tkinter.Text() add a newline to the content - bug?
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18246>
_______________________________________


More information about the New-bugs-announce mailing list