Martin Panter added the comment: There are various tricky cases to be considered with the regenerated files like importlib.h. One of them is that you are supposed to be able to build Python from a read-only source tree. See Issue 15819. Writing files into $(srcdir) would break this.
Also, as I just wrote in that bug, the built Python/importlib.h is already supposed to be searchable. However the logic seems to be broken. Can you see if this patch helps? ---------- stage: -> patch review Added file: http://bugs.python.org/file44548/srcdir-check.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28066> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com