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 eric.snow, mathias, ncoghlan, ronaldoussoren, vstinner
Date 2019-09-26.14:47:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569509220.39.0.108355182705.issue18309@roundup.psfhosted.org>
In-reply-to
Content
My plan is not to change the default implementation to calculate the path configuration, but make it easier to customize the path configuration.

One idea is to rewrite Modules/getpath.c and PC/getpathp.c in Python and convert it to a frozen module. It is easier to modify Python code than C code. In the past, we already did such change for importlib (which also has a frozen part, importlib._bootstrap and importlib._bootstrap_external).

The PEP 587 implementation moves towards that with the "Multi-Phase Initialization Private Provisional API":
https://docs.python.org/dev/c-api/init_config.html#multi-phase-initialization-private-provisional-api
History
Date User Action Args
2019-09-26 14:47:00vstinnersetrecipients: + vstinner, ronaldoussoren, ncoghlan, eric.snow, mathias
2019-09-26 14:47:00vstinnersetmessageid: <1569509220.39.0.108355182705.issue18309@roundup.psfhosted.org>
2019-09-26 14:47:00vstinnerlinkissue18309 messages
2019-09-26 14:47:00vstinnercreate