To allow builds of Python to be run from an in-tree layout (rather than an installed file layout), the VPATH variable is defined at build time and used to locate certain landmarks - specifically, Mod…
Summary
To allow builds of Python to be run from an in-tree layout (rather than an installed file layout), the VPATH variable is defined at build time and used to locate certain landmarks - specifically, Modules/setup.local. When this landmark is found relative to VPATH relative to the executable, Python assumes it is running in a source tree and generates a different default sys.path. This code remains in release builds, so that release-ready builds can be built in-tree. On Windows, since builds are …
In-depth triage · Auto channel
No in-depth report has been generated yet (DR-003 v2 AI pipeline is under construction).
Lint boundary warnings (1)
The following non-blocking warnings were raised during the lint phase of this triage (e.g. reference URLs not yet on the allowlist). They do not affect entry usability and are disclosed for transparency (see DR-002).
-
REF_URL_NOT_ALLOWLISTEDurl not in allowlist: https://https://mail.python.org/archives/list/security-announce@python.org/thread/JIFOBO7UX3LY4VJKJUOKYJV62CFR2IRH/
Sources
- NVD DATABASE
Original Links
- https://github.com/python/cpython/commit/03ab7b44788bfd6b8927e16bcdbd025aa08dce06
- https://github.com/python/cpython/commit/16c40f944b7bff724a403cf4902763d095bb4b2a
- https://github.com/python/cpython/commit/9e863fab283eddca9c2a8f9d1ee30f4dc243e314
- https://github.com/python/cpython/commit/a86de0bc236fbb9452f98998fc8437e9fca35700
- https://github.com/python/cpython/commit/b93d6d3399adbd3a5037b6b92fc3587c85ac5d56
- https://github.com/python/cpython/issues/151544
- https://github.com/python/cpython/pull/151545
- https://https://mail.python.org/archives/list/security-announce@python.org/thread/JIFOBO7UX3LY4VJKJUOKYJV62CFR2IRH/
- http://www.openwall.com/lists/oss-security/2026/06/16/8
Timeline
- nvd_ingest NVD