This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients Dennis Sweeney, eric.snow, gvanrossum, kumaraditya
Date 2022-03-22.20:50:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647982257.87.0.303827725595.issue46712@roundup.psfhosted.org>
In-reply-to
Content
> After a new `&_Py_ID(__orig_class__)` is added to Objects/genericaliasobject.c, running `make regen-global-objects` starts
>
>     gcc -pthread -c [snipped] -DPy_BUILD_CORE -o Objects/genericaliasobject.o Objects/genericaliasobject.c
>
> which fails with a compilation error because that identifier is not yet defined. Is there a good way to convince `make` to regenerate the global objects without this sort of circular dependency? Am I missing a step?

I'm looking into this.  A temporary workaround is to run Tools/scripts/generate-global-objects.py directly.
History
Date User Action Args
2022-03-22 20:50:57eric.snowsetrecipients: + eric.snow, gvanrossum, Dennis Sweeney, kumaraditya
2022-03-22 20:50:57eric.snowsetmessageid: <1647982257.87.0.303827725595.issue46712@roundup.psfhosted.org>
2022-03-22 20:50:57eric.snowlinkissue46712 messages
2022-03-22 20:50:57eric.snowcreate