➜

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.

作者 vstinner
收信人 Decorater, eric.snow, ncoghlan, serhiy.storchaka, vstinner
日期 2017-11-22.09:33:13
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1511343193.76.0.213398074469.issue32096@psf.upfronthosting.co.za>
In-reply-to
内容
> As an alternative to that, we could also deprecate using any of those functions before initializing the runtime.   Instead of calling them, you would set the relevant info on the runtime "config" struct that you pass to the replacement for PyInitialize().

Currently, _PyCoreConfig is not complete: you cannot pass PYTHONPATH or PYTHONHOME. I'm working on patches to implement that.

Moreover, there is the question how to decode a bytes path (for PYTHONPATH) into a wchar_t* string.

Disallow calling Py_DecodeLocale() before Py_Initialize(): ok, but which alternative do you propose to decode OS data?
历史
日期 用户 动作 参数
2017-11-22 09:33:13vstinner修改recipients: + vstinner, ncoghlan, eric.snow, serhiy.storchaka, Decorater
2017-11-22 09:33:13vstinner修改messageid: <1511343193.76.0.213398074469.issue32096@psf.upfronthosting.co.za>
2017-11-22 09:33:13vstinner链接issue32096 messages
2017-11-22 09:33:13vstinner创建