STINNER Victor <victor.stin...@gmail.com> added the comment:

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".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32096>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to