Terry J. Reedy added the comment:

The underlying issue is trying to coordinate two somewhat independent object 
systems (Python and Tcl).  I don't know why the after loops were (apparently) 
stopped before #27099 and not after.  The only difference I know of is the 
dropping of the reference to CodeContext instances in .unload_extensions, 
called from ._close.  CodeContext did not have a .close method.

I tried the first thing I thought might work and it did, so I stopped.  I don't 
know why unbinding the toggle function was enough.  I expect that we will 
eventually review ._close.  It should help when the menu and editor are 
separated a bit.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31493>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to