[Python-Dev] Exporting Python functions on AIX

WILSON, MICHAEL michael.a.wilson at atos.net
Fri Jul 27 11:12:55 EDT 2018


My excuse if this is not the appropriate list for a question essentially concerning the AIX port of Python.

The current port of Python for AIX includes composing an export file (/lib/python2.7/config/python.exp) in which there are a number of functions starting "Py_" or "_Py_".

The Vim package for AIX is built referencing the python.exp file and unfortunately, when functions are removed from libpython, even those which are not called, the vim command detects missing symbols.

The most recent case (May 2017), functions _Py_hgidentity, _Py_hgversion and _Py_svnversion were replaced/removed, see "bpo-27593: Get SCM build info from git instead of hg (#1327)".

Is it correct to assume that the "_Py_" functions are internal (Python name space) that should/must not be called by or made visible to application code  ?

Could you indicate a URL to the authoritative API documentation ?

Thanks for your replies.

Mike Wilson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180727/e5a91730/attachment.html>

More information about the Python-Dev mailing list