PyConfig · Issue #2631 · pythonnet/pythonnet
Repository navigation
PyConfig #2631
New issue
New issue
Open
Open
PyConfig #2631
Description
@filmor's profile filmor opened on Oct 12, 20253.7 has been obsolete for a while, with 3.8 onwards we can use https://peps.python.org/pep-0587/ to set the startup configuration, allowing (finally) for proper configuration of venvs.
From 3.14, we could even use the PyInitConfig mechanism from PEP741, which gives us full control over the initialization. For now, we'll just hardcode the offsets, similar to how we store the offsets in the PyHEAPTYPE struct :/