Terry J. Reedy added the comment: You omitted the crucial control experiment. >>> t2=tk.Text() >>> t2.get(1.0, tk.END) '\n' Text widgets are initialized to end with \n. I suspect that this is an intentional invariant of tk Text widgets, done by tk itself and not out tkinter wrapper, even if not well documented in the tkinter doc strings.
.insert works as documented. So unless you can determine that this initialization is a recent and unintentional change, we would not change it. Hence closing at least for now. (G.P., if you think this is wrong, re-open) PS. python-list mirrrored on comp.lang.python and gmane.comp.python.general is a better place to ask 'Is this a bug?' and similar questions. ---------- nosy: +gpolo, terry.reedy resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18246> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com