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 vajrasky
Recipients pitrou, vajrasky
Date 2013-10-26.04:52:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382763162.76.0.250856073016.issue19398@psf.upfronthosting.co.za>
In-reply-to
Content
This is the "emergency" patch to solve this issue.

The main issue is,

[sky@localhost cpython]$ ./python -Sc "import sys; print(sys.path)"
['', '/usr/local/lib/python34.zip', '/home/sky/Code/python/programming_language/cpython/Lib/', '/home/sky/Code/python/programming_language/cpython/Lib/plat-linux', '/home/sky/Code/python/programming_language/cpython/build/lib.linux-x86_64-3.4-pydebug']
[sky@localhost cpython]$ ./python -c "import sys; print(sys.path)"
['', '/usr/local/lib/python34.zip', '/home/sky/Code/python/programming_language/cpython/Lib', '/home/sky/Code/python/programming_language/cpython/Lib/plat-linux', '/home/sky/Code/python/programming_language/cpython/build/lib.linux-x86_64-3.4-pydebug', '/home/sky/.local/lib/python3.4/site-packages']

Let me "zoom" it for you.

[sky@localhost cpython]$ ./python -Sc "import sys; print(sys.path[2])"
/home/sky/Code/python/programming_language/cpython/Lib/
[sky@localhost cpython]$ ./python -c "import sys; print(sys.path[2])"
/home/sky/Code/python/programming_language/cpython/Lib

The "extra" slash is the culprit. I need to investigate whether this is deliberate or not.
History
Date User Action Args
2013-10-26 04:52:42vajraskysetrecipients: + vajrasky, pitrou
2013-10-26 04:52:42vajraskysetmessageid: <1382763162.76.0.250856073016.issue19398@psf.upfronthosting.co.za>
2013-10-26 04:52:42vajraskylinkissue19398 messages
2013-10-26 04:52:42vajraskycreate