New submission from Christian Heimes <li...@cheimes.de>:

Any change to a Python header file triggers a rebuild of Python core objects. 
The extension modules are not automatically rebuild in several cases. This is 
slightly annoying for core development because it forces me to do ``make 
clean`` too often.

* setup.py adds dependencies on Includes/*.h but not on header files in 
"internal" and "cpython" subdirectory
* Modules/Setup and makesetup do not add a dependency on PYTHON_HEADERS
* Modules/Setup is also missing dependencies on module-specific headers, e.g. 
_sre.o should depend on sre.h.

----------
assignee: christian.heimes
components: Build
messages: 404921
nosy: brett.cannon, christian.heimes
priority: normal
severity: normal
status: open
title: [Build] Make extensions depend on header files
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45595>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to