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 David Hewitt
Recipients David Hewitt, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-11-19.22:47:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605826065.75.0.910654545311.issue42415@roundup.psfhosted.org>
In-reply-to
Content
I'm unsure if this is a packaging error or a misunderstanding by me.

I'm trying to link a binary on windows with Py_LIMITED_API set. According to https://www.python.org/dev/peps/pep-0384/#linkage I _think_ I'm supposed to be linking against python3.lib (instead of python39.lib).

However my build fails because the PyObject_CallNoArgs symbol is not present in python3.lib

I see that the symbol is indeed present in python39.lib

Is this a misunderstanding on my part? I was under the impression that python3.lib will only contain symbols available in the limited api, and that (since 3.9) PyObject_CallNoArgs is part of the limited api.
History
Date User Action Args
2020-11-19 22:47:45David Hewittsetrecipients: + David Hewitt, paul.moore, tim.golden, zach.ware, steve.dower
2020-11-19 22:47:45David Hewittsetmessageid: <1605826065.75.0.910654545311.issue42415@roundup.psfhosted.org>
2020-11-19 22:47:45David Hewittlinkissue42415 messages
2020-11-19 22:47:45David Hewittcreate