Message320530
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:09 | terry.reedy | set | recipients:
+ terry.reedy, kbk, roger.serwy, python-dev, martin.panter, serhiy.storchaka |
2018-06-27 02:17:09 | terry.reedy | set | messageid: <1530065829.32.0.56676864532.issue24137@psf.upfronthosting.co.za> |
2018-06-27 02:17:09 | terry.reedy | link | issue24137 messages |
2018-06-27 02:17:08 | terry.reedy | create | |
|