Message306662
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". |
|
Date |
User |
Action |
Args |
2017-11-21 15:56:05 | vstinner | set | recipients:
+ vstinner, ncoghlan, eric.snow, serhiy.storchaka, Decorater |
2017-11-21 15:56:05 | vstinner | set | messageid: <1511279765.54.0.213398074469.issue32096@psf.upfronthosting.co.za> |
2017-11-21 15:56:05 | vstinner | link | issue32096 messages |
2017-11-21 15:56:05 | vstinner | create | |
|