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 dd789, ned.deily, ronaldoussoren, terry.reedy
Date 2020-03-13.03:10:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584069026.13.0.945530969794.issue39927@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-03-13 03:10:26terry.reedysetrecipients: + terry.reedy, ronaldoussoren, ned.deily, dd789
2020-03-13 03:10:26terry.reedysetmessageid: <1584069026.13.0.945530969794.issue39927@roundup.psfhosted.org>
2020-03-13 03:10:26terry.reedylinkissue39927 messages
2020-03-13 03:10:26terry.reedycreate