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 nascheme
Recipients nascheme, ncoghlan, ned.deily, pablogsal, vstinner
Date 2020-11-10.20:42:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605040972.98.0.874504307665.issue42307@roundup.psfhosted.org>
In-reply-to
Content
I think the comments are correct in that it is used to create a new statically linked interpreter that includes a user provided extension module.  We could include python.o inside the libpythonXX.a file but then I think it breaks if you are embedding (e.g. linking .a to your own .o that has a main function).

It seems probable that no one uses python.o anymore but my preference would be to not remove it unless we are going to completely remove support for statically linking.  Nothing is really hurt by having that .o file in the install and the feature still works as originally intended.

It would be good to add a comment in the makefile, describing the possible use for that file.
History
Date User Action Args
2020-11-10 20:42:53naschemesetrecipients: + nascheme, ncoghlan, vstinner, ned.deily, pablogsal
2020-11-10 20:42:52naschemesetmessageid: <1605040972.98.0.874504307665.issue42307@roundup.psfhosted.org>
2020-11-10 20:42:52naschemelinkissue42307 messages
2020-11-10 20:42:52naschemecreate