Doug Bates added the comment:
'cc' Terry to say thank you.
Just fyi I regressed my Chromebook to Debian/Buster form Bullseye, as IDLE
and Thonny had previously worked seamlessly but now it doesn't work on
Bullseye either -> so Google must have broken something along the way
upgrading
Terry J. Reedy added the comment:
"Thonny GUI uses the same as IDLE": I presume this means that Thonny also uses
tkinter and both fail, which means that tkinter is not working right. Your
test run indicates that python is not running correctly either. It only tried
to run 10 of what