A natural magnet for the craziest TKinter lovers out there

Thomas Passin list1 at tompassin.net
Thu Jan 19 11:24:38 EST 2023


Works through 20 presses of the "go" button on a Linux Mint VM.  Because 
of limited RAM allocated for the VM, after some iterations the program 
slowed down because the VM had to start using swap memory.  But there 
did not seem to be any glitches or failures.

Python 3.9.5
Linux Mint 20 Ulyana /Cinnamon 3.07 GB
Linux kernel  5.4.0-137-generic
tk: 0.1.0


On 1/19/2023 10:06 AM, Thomas Passin wrote:
> Works fine through 10 "go" button presses on my Windows 10 machine.  You 
> might want to run pylint and pyflakes on it
> 
> On 1/19/2023 7:34 AM, Weatherby,Gerard wrote:
>> Works fine on my work machine. (Ubuntu 20.04 / 32 G / 32 CPUS). 
>> Scalene (https://github.com/plasma-umass/scalene) shows it using 9 MB 
>> of memory.
>>
>> From: Python-list <python-list-bounces+gweatherby=uchc.edu at python.org> 
>> on behalf of Michael Torrie <torriem at gmail.com>
>> Date: Wednesday, January 18, 2023 at 8:58 PM
>> To: python-list at python.org <python-list at python.org>
>> Subject: Re: A natural magnet for the craziest TKinter lovers out there
>> *** Attention: This is an external email. Use caution responding, 
>> opening attachments or clicking on links. ***
>>
>> On 1/18/23 18:01, Dan Kolis wrote:
>>> Hangs after maybe between 4 and 50 screen rewrites. sometimes CTRL C 
>>> under Ubuntu starts it up again. Click go rewrites al the fonts the 
>>> thing can find in a few windows.... Repeated.
>>>
>>
>> Not sure what you mean by "screen rewrites."
>>
>> I ran your test program here and it generates 25 windows on my machine,
>> and I can click "run" at least half a dozen times. I tried closing the
>> font windows before clicking run again, and also just leaving the
>> windows up and generating many more windows.  300 windows. No hangs here
>> at all. Fedora 35 with Mate Desktop on X11 with compositing enabled.
>>
>> -- 
>> https://urldefense.com/v3/__https://mail.python.org/mailman/listinfo/python-list__;!!Cn_UX_p3!iGQaGdd9t2QPVQJDhyDTQmXgCwx4YG7m8jFbRd11dF1BweJHCd0wC4UyZUfQGQjqxeulMYagnDqInfA81A$<https://urldefense.com/v3/__https:/mail.python.org/mailman/listinfo/python-list__;!!Cn_UX_p3!iGQaGdd9t2QPVQJDhyDTQmXgCwx4YG7m8jFbRd11dF1BweJHCd0wC4UyZUfQGQjqxeulMYagnDqInfA81A$>
> 



More information about the Python-list mailing list