消息 [306662]
IMHO for the long term, the best would be to have a structure for pre-Py_Initialize configuration, maybe _PyCoreConfig, and pass it to functions that can be called before Py_Initialize().
For example, I'm working on a variant of Py_GetPath() which accepts a _PyCoreConfig to be able to pass the value of the PYTHONPATH environment variable.
That's a more complex solution, so I proposed to first revert, to have more time to design the "correct API". |
|
| 日期 |
用户 |
动作 |
参数 |
| 2017-11-21 15:56:05 | vstinner | 修改 | recipients:
+ vstinner, ncoghlan, eric.snow, serhiy.storchaka, Decorater |
| 2017-11-21 15:56:05 | vstinner | 修改 | messageid: <1511279765.54.0.213398074469.issue32096@psf.upfronthosting.co.za> |
| 2017-11-21 15:56:05 | vstinner | 链接 | issue32096 messages |
| 2017-11-21 15:56:05 | vstinner | 创建 | |
|