Message172541
> 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 |
|
Date |
User |
Action |
Args |
2012-10-09 22:33:37 | chris.jerdonek | set | recipients:
+ chris.jerdonek, pitrou, python-dev |
2012-10-09 22:33:37 | chris.jerdonek | set | messageid: <1349822017.86.0.974237342574.issue16170@psf.upfronthosting.co.za> |
2012-10-09 22:33:37 | chris.jerdonek | link | issue16170 messages |
2012-10-09 22:33:37 | chris.jerdonek | create | |
|