Message191614
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. |
|
Date |
User |
Action |
Args |
2013-06-21 22:19:21 | terry.reedy | set | recipients:
+ terry.reedy, gpolo, Friedrich.Spee.von.Langenfeld |
2013-06-21 22:19:21 | terry.reedy | set | messageid: <1371853161.19.0.610561964014.issue18246@psf.upfronthosting.co.za> |
2013-06-21 22:19:21 | terry.reedy | link | issue18246 messages |
2013-06-21 22:19:21 | terry.reedy | create | |
|