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 vstinner
Recipients benjamin.peterson, cgohlke, paul.moore, pyscripter, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-06-17.21:29:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560806993.35.0.710998456313.issue37189@roundup.psfhosted.org>
In-reply-to
Content
I tested the following code:
---
import ctypes, sys 
names = """
PyRun_String
PyRun_AnyFile
PyRun_AnyFileEx
PyRun_AnyFileFlags
PyRun_SimpleString
PyRun_SimpleFile
PyRun_SimpleFileEx
PyRun_InteractiveOne
PyRun_InteractiveLoop
PyRun_File
PyRun_FileEx
PyRun_FileFlags
"""
api = ctypes.pythonapi
api2 = ctypes.PyDLL("", handle=sys.dllhandle)
for name in names.split():
    if not hasattr(api, name) or not hasattr(api2, name):
        print("MISSING NAME", name)
---

Current output:

Missing names ['PyRun_AnyFile', 'PyRun_AnyFileEx', 'PyRun_File', 'PyRun_FileEx',
 'PyRun_FileFlags', 'PyRun_InteractiveLoop', 'PyRun_InteractiveOne', 'PyRun_Simp
leFile', 'PyRun_SimpleFileEx', 'PyRun_SimpleString', 'PyRun_String']

With my PR 14142:

Missing names []
History
Date User Action Args
2019-06-17 21:29:53vstinnersetrecipients: + vstinner, paul.moore, tim.golden, pyscripter, benjamin.peterson, cgohlke, zach.ware, steve.dower
2019-06-17 21:29:53vstinnersetmessageid: <1560806993.35.0.710998456313.issue37189@roundup.psfhosted.org>
2019-06-17 21:29:53vstinnerlinkissue37189 messages
2019-06-17 21:29:53vstinnercreate