gh-110722: Add PYTHON_PRESITE to import a module before site.py is run by ambv 路 Pull Request #110769 路 python/cpython (original) (raw)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with the C implementation and the overall feature, I just have some remarks on the doc.
I suggest to replace site.py with the site module. In Sphinx, you can even create a link if you want:
the :mod:`site` module
The presite module is imported, it's exactly run. But I'm fine with run_presite name :-) Well, in fact, it can be seed as being "run" ;-)