[issue14642] Fix importlib.h build rule to not depend on hg

Brett Cannon report at bugs.python.org
Wed Apr 25 18:30:57 CEST 2012


Brett Cannon <brett at python.org> added the comment:

When you do a fresh checkout, Python/importlib.h comes after Lib/importlib/_bootstrap.py and Python/freeze_importlib.py in a lexicographical sort which leads to it have a newer timestamp and thus not triggering a new build of the file.

This is why Martin suggested at some point using hg status or something from a script to properly detect if something has changed that would warrant rebuilding.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14642>
_______________________________________


More information about the Python-bugs-list mailing list