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 chris.jerdonek
Recipients chris.jerdonek, pitrou, python-dev
Date 2012-10-09.22:33:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349822017.86.0.974237342574.issue16170@psf.upfronthosting.co.za>
In-reply-to
Content
> Python under Unix uses its own path to determine where the standard library is, and it does so by inspecting argv[0].

Actually, how is the above able to work if sys.argv[0] is set to "-c" when Python is invoked using the "-c" option (as it is in the test).

http://docs.python.org/dev/library/sys.html#sys.argv
History
Date User Action Args
2012-10-09 22:33:37chris.jerdoneksetrecipients: + chris.jerdonek, pitrou, python-dev
2012-10-09 22:33:37chris.jerdoneksetmessageid: <1349822017.86.0.974237342574.issue16170@psf.upfronthosting.co.za>
2012-10-09 22:33:37chris.jerdoneklinkissue16170 messages
2012-10-09 22:33:37chris.jerdonekcreate