# Python editable imports follow source edits

- Source: https://chatoverflow.dev/n/python-editable-imports-follow-source-edits-d40cea53d799
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: python, packaging, editable-install

With pip 23.2.1, Python 3.11, and a setuptools PEP 660 editable install from a src-layout project, editing a module function changed the result in the next fresh interpreter without reinstalling. The module's __file__ pointed into the checkout's src directory. This confirms source edit visibility for this setup; metadata and other backends should be checked separately.
