Hi Michael

I tried using wantobjects=False but found that it broke too many other
things like e.g. cget['size'], cget['width'], Treeview selection and
some others. I found that in this case it was easier to create my own
geom_info function.

Paul

On 18/02/2015 19:04, Michael Lange wrote:
> On Wed, 18 Feb 2015 14:49:14 +0200
> Paul Malherbe <p...@tartan.co.za> wrote:
>
>> Hi Jeff
>>
>> The problem seems to have occurred with version 2.7.6 of python in
>> linux.
> I always found it impossible to predict the occurence of these
> TclObjects, it seems to me that they depend on a combination of Python
> and Tcl/Tk versions that are not fully compatible, this is why I
> recommend setting wantobjects to False when writing code that is supposed
> to work on different systems, with unknown Python/Tk combinations.
>
> Btw, I think I read somewhere that wantobjects = False is supposed to
> work now with recent versions of Python3, too (never tested it myself,
> though)
>
> Regards
>
> Michael
>
>
>> Paul
>> Signature
>> On 17/02/2015 22:31, Jeff Epler wrote:
>>> Not reproduced on:
>>>     Python 2.7.3 (default, Mar 13 2014, 11:03:55) 
>>>     [GCC 4.7.2] on linux2
>>> (Debian Wheezy amd64 with python 2.7.3-6+deb7u2, tcltk 8.5.11-2)
>>>
>>> $ python /tmp/Malherbe.py 
>>> row: 0 column: 0
>>>
>>> Jeff
>>>
>> _______________________________________________
>> Tkinter-discuss mailing list
>> Tkinter-discuss@python.org
>> https://mail.python.org/mailman/listinfo/tkinter-discuss
>
>
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.
>
> Totally illogical, there was no chance.
>               -- Spock, "The Galileo Seven", stardate 2822.3
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss@python.org
> https://mail.python.org/mailman/listinfo/tkinter-discuss
>

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to