消息 [172541]
> 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 |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-10-09 22:33:37 | chris.jerdonek | 修改 | recipients:
+ chris.jerdonek, pitrou, python-dev |
| 2012-10-09 22:33:37 | chris.jerdonek | 修改 | messageid: <1349822017.86.0.974237342574.issue16170@psf.upfronthosting.co.za> |
| 2012-10-09 22:33:37 | chris.jerdonek | 链接 | issue16170 messages |
| 2012-10-09 22:33:37 | chris.jerdonek | 创建 | |
|