This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients gpolo, serhiy.storchaka, terry.reedy
Date 2020-12-24.02:38:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2020-12-24 02:39:00terry.reedysetrecipients: + terry.reedy, gpolo, serhiy.storchaka
2020-12-24 02:39:00terry.reedysetmessageid: <>
2020-12-24 02:39:00terry.reedylinkissue42721 messages
2020-12-24 02:38:59terry.reedycreate