-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-31536: Avoid wholesale rebuild after make regen-all
#3678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| $(srcdir)/Lib/importlib/_bootstrap.py \ | ||
| $(srcdir)/Python/importlib.h | ||
| $(srcdir)/Python/importlib.h.new | ||
| $(UPDATE_FILE) $(srcdir)/Python/importlib.h $(srcdir)/Python/importlib.h.new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a little bit boring to always have to repeat the full path. Why not passing a single parameter to the update script, and add ".new" to get the "new filename"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it doesn't impose a naming convention and makes it explicit which files are operated on. Also, there's a lot of boredom in Makefiles ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. It was just a suggestion, being explicit is fine.
Also, there's a lot of boredom in Makefiles ;-)
I will not start discussing that aspect of Makefiles, thanks.
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
|
Thank you Victor! |
|
GH-3797 is a backport of this pull request to the 3.6 branch. |
…onGH-3678) * bpo-31536: Avoid wholesale rebuild after `make regen-all` * Add NEWS (cherry picked from commit b091bec)
https://bugs.python.org/issue31536