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 njs
Recipients jwilk, ncoghlan, njs, ztane
Date 2018-03-19.09:14:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521450859.72.0.467229070634.issue33053@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, yeah, I see:

~/t$ echo 'print("hi")' > re.py
~/t$ pip --version
pip 9.0.1 from /home/njs/.user-python3.5-64bit/local/lib/python3.5/site-packages (python 3.5)
~/t$ python -m pip --version
hi
Traceback (most recent call last):
[...]

But if I create a sitecustomize.py or an io.py in the current directory (knowing that 'import io' happens implicitly startup), then those *don't* seem to get picked up by 'python -m pip' or 'python -c ...' or plain 'python'. I guess the cwd doesn't get added to sys.path until after initial bootstrapping is finished.
History
Date User Action Args
2018-03-19 09:14:19njssetrecipients: + njs, ncoghlan, jwilk, ztane
2018-03-19 09:14:19njssetmessageid: <1521450859.72.0.467229070634.issue33053@psf.upfronthosting.co.za>
2018-03-19 09:14:19njslinkissue33053 messages
2018-03-19 09:14:19njscreate