Message345915
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 [] |
|
Date |
User |
Action |
Args |
2019-06-17 21:29:53 | vstinner | set | recipients:
+ vstinner, paul.moore, tim.golden, pyscripter, benjamin.peterson, cgohlke, zach.ware, steve.dower |
2019-06-17 21:29:53 | vstinner | set | messageid: <1560806993.35.0.710998456313.issue37189@roundup.psfhosted.org> |
2019-06-17 21:29:53 | vstinner | link | issue37189 messages |
2019-06-17 21:29:53 | vstinner | create | |
|