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

Right.  I rechecked and Terminal starts in /Users/<username> and a user can 
easily switch to Documents or anything else.  Dialogs open in the same 
directory.  IDLE should stay wherever when started from terminal. That was 
agreed on #22121  (Checking 'sys.stdout is None' should work.)

Will my suggested change work in idlemain.py?  Is there any issue with 
importing tkinter.messagebox there?

If the solution for #22121 is an all-systems patch (see msg364068), as I now 
expect, the chdir in idlemain could be deleted.

----------

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

Reply via email to