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 kbk, martin.panter, python-dev, roger.serwy, serhiy.storchaka, terry.reedy
Date 2018-06-27.02:17:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The net effect of this issue:

pyshell.main calls NoDefaultRoot() when running normally, when using a subprocess and testing is not set.  It does not call it when in -n mode since that would affect users.

idle_test.htest  calls NoDefaultRoot() unconditionally.  pyshell.main is not called.

test.test_idle sets testing to avoid the call when run by test.regrtest, to avoid failing the latter's changed-environment check.  But it does call NoDefaultRoot when run as __main__ and the tests are run by unittest.main.

Known dependencies on a default root have been removed.  It is unlikely that any are left.
Date User Action Args
2018-06-27 02:17:09terry.reedysetrecipients: + terry.reedy, kbk, roger.serwy, python-dev, martin.panter, serhiy.storchaka
2018-06-27 02:17:09terry.reedysetmessageid: <>
2018-06-27 02:17:09terry.reedylinkissue24137 messages
2018-06-27 02:17:08terry.reedycreate