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 ncoghlan
Recipients Viv, brett.cannon, eric.snow, eryksun, jwilk, ncoghlan, ned.deily, njs, ztane
Date 2018-04-08.04:48:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523162925.09.0.682650639539.issue33053@psf.upfronthosting.co.za>
In-reply-to
Content
Some notes from my investigation of bpo-33185 that seem more appropriate here, rather than on that issue:

* several of the developer-centric utilities in the standard library have a shared need to be friendly to imports from the current working directory.
* timeit uses os.curdir, but could be switched to os.getcwd()
* pydoc uses a literal '.', but could be switched to os.getcwd()
* trace, profile, cProfile, pdb, doctest, and IDLE's pyshell all add the directory containing the file under test

Aside from switching pydoc from a literal '.' to os.curdir, I'm not going to change any of those (hence why I'm putting these notes here), but I wanted to capture this info in case does decide to follow through on a "less isolated than isolated mode, but still omits the current directory from sys.path" execution mode.
History
Date User Action Args
2018-04-08 04:48:45ncoghlansetrecipients: + ncoghlan, brett.cannon, jwilk, ned.deily, njs, eric.snow, eryksun, ztane, Viv
2018-04-08 04:48:45ncoghlansetmessageid: <1523162925.09.0.682650639539.issue33053@psf.upfronthosting.co.za>
2018-04-08 04:48:45ncoghlanlinkissue33053 messages
2018-04-08 04:48:44ncoghlancreate