Re:HPy – A better C API for Python
by oefrha on Sunday October 06, 2024 @09:32AM
(#41757052)
It shows that the language is highly dynamic and you can patch anything? The .pth mechanism allows the party controlling the Python installation (site) to run some init code before any user code, basically an rc mechanism. Nothing more, nothing radical. Maybe you’re unhappy with the dynamism, in which case your complaint is misplaced.
[ Parent
| on HN ]
In this case it prevents someone using PYTHONPATH to alter or override the order that modules are loaded. Hard to justify that.