Author vstinner
Recipients christian.heimes, houjingyi233, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-01-12.10:04:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610445842.35.0.626446754432.issue42902@roundup.psfhosted.org>
In-reply-to
Content
Python has an unit test on Py_SetPath(): test_embed.test_init_setpath.

> Write following code that only call Py_Initialize(): (...)

Do you mean that on Windows Python looks for modules in C:\Lib\ just by calling Py_Initialize()? 


> According to https://docs.python.org/3/c-api/init.html: "Py_SetPath() set the default module search path.

I don't understand. Do you have your issue with and without calling Py_SetPath()? Can you please provide an example of code reproducing the issue?
History
Date User Action Args
2021-01-12 10:04:02vstinnersetrecipients: + vstinner, paul.moore, christian.heimes, tim.golden, zach.ware, steve.dower, houjingyi233
2021-01-12 10:04:02vstinnersetmessageid: <1610445842.35.0.626446754432.issue42902@roundup.psfhosted.org>
2021-01-12 10:04:02vstinnerlinkissue42902 messages
2021-01-12 10:04:02vstinnercreate