Message375888
Observation:
After creating around 10000 widgets (verified with ttk.Label), no more widgets get created, and sometimes graphical artifacts appear outside the application window.
No error message or exception is raised.
Expected:
Either the limit can be removed (having dynamically created 10000 widgets in data heavy applications is sometimes desired), or at least document and return runtime errors to prevent the weird behavior.
Reproduction:
This is the problematic part:
for _ in range(10000):
ttk.Label(root, text='problematic')
A full minimal example code is attached, though a better effect can be seen when running the above two lines in the context of a more advanced Tkinter application. |
|
Date |
User |
Action |
Args |
2020-08-25 12:23:41 | j.lahav | set | recipients:
+ j.lahav, gpolo, serhiy.storchaka |
2020-08-25 12:23:41 | j.lahav | set | messageid: <1598358221.58.0.0866491892705.issue41632@roundup.psfhosted.org> |
2020-08-25 12:23:41 | j.lahav | link | issue41632 messages |
2020-08-25 12:23:41 | j.lahav | create | |
|