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

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.

----------

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

Reply via email to