Hi, I tried to document inputs and outputs of Modules/getpath.py in the C API Initialization API: https://docs.python.org/dev/c-api/init_config.html#python-path-configuration
I don't know if it would be possible to merge most of these information at a single place to avoid oudated documentation. Victor On Wed, Mar 2, 2022 at 5:40 PM Russel Webber <[email protected]> wrote: > > Hi All, > > Steve Dower, Eryk Sun and I have been working on improving the documentation > around how sys.path is initialised and therefore how Python modules are found. > > We're moving the details from > https://docs.python.org/3.11/using/windows.html#finding-modules > to a platform-agnostic new section in > https://docs.python.org/3.11/using/cmdline.html > > We're aiming to have one place in the documentation where all the ways to > customize sys.path (PYTHONPATH, ._pth, site, etc) are at least mentioned. > > We'd appreciate further community feedback on the changes before they are > merged. > https://bugs.python.org/issue31582 > https://github.com/python/cpython/pull/31082 > > Thank you, > Russel > > _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/5AZQZH45EUCYN26SVD5DO6O7XTPSTIB5/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/Q5VGOJPJE67JKCMZO2CZBH6UFM7EMXDY/ Code of Conduct: http://python.org/psf/codeofconduct/
