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.

Author vstinner
Recipients christian.heimes, houjingyi233, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-01-12.10:24:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610447098.58.0.941152875592.issue42902@roundup.psfhosted.org>
In-reply-to
Content
> I thought that *all* versions of Python located the standard library by searching for os.py...

The current implementation of the Python Path Configuration can be found in:

* Windows: PC/getpathp.c
* Unix: Modules/getpath.c

It should be skipped if Py_SetPath() is used, but I recommend to only rely on PyConfig and its documentation:
https://docs.python.org/dev/c-api/init_config.html#python-path-configuration

If the documentation is wrong, it must be fixed ;-)

I still don't understand if the issue involves Py_SetPath() or not.
History
Date User Action Args
2021-01-12 10:24:58vstinnersetrecipients: + vstinner, paul.moore, christian.heimes, tim.golden, zach.ware, steve.dower, houjingyi233
2021-01-12 10:24:58vstinnersetmessageid: <1610447098.58.0.941152875592.issue42902@roundup.psfhosted.org>
2021-01-12 10:24:58vstinnerlinkissue42902 messages
2021-01-12 10:24:58vstinnercreate