➜

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.

作者 krivushinme
收信人 docs@python, georg.brandl, jgehrcke, krivushinme, pitrou, vstinner
日期 2015-02-10.09:58:44
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1423562324.95.0.553876600129.issue23427@psf.upfronthosting.co.za>
In-reply-to
内容
Hello, I have find some workaround to get actual argv, but it broken:

python -c 'import ctypes; argv = ctypes.POINTER(ctypes.c_char_p)(); argc = ctypes.c_int(); ctypes.pythonapi.Py_GetArgcArgv(ctypes.byref(argc), ctypes.byref(argv)); print([argv[i] for i in xrange(0, argc.value)])'

And this will output:
['python', '-c', '-c']

May be we just need to fix this behaviour, due this is error, as far as i can see. But may broke something.
历史
日期 用户 动作 参数
2015-02-10 09:58:45krivushinme修改recipients: + krivushinme, georg.brandl, pitrou, vstinner, jgehrcke, docs@python
2015-02-10 09:58:44krivushinme修改messageid: <1423562324.95.0.553876600129.issue23427@psf.upfronthosting.co.za>
2015-02-10 09:58:44krivushinme链接issue23427 messages
2015-02-10 09:58:44krivushinme创建