Terry J. Reedy <tjre...@udel.edu> added the comment:

The does not affect IDLE, as the two ask... calls pass parent.  (And I may 
someday replace them with query.Query subclasses.)  But I do prefer that 
tkinter act consistently and sensibly for others.  The PR's initial commit 
message adds this justification for the particular behavior: "It will help to 
use these simple dialog windows in programs which do
not need other GUI."  I agree with this goal.

Contrary to the message above, temporary root is set as _default_root and the 
latter is then set back to None.  Consequently, there can be no temporary if 
_default_root cannot be set.  Changing this would be messy enough that I think 
it reasonable to presume and require that people not otherwise needing a GUI 
will not call no_default_root, or learn to call Tk() if using an installation 
with patched tkinter.

----------
nosy: +terry.reedy

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

Reply via email to