[Python-Dev] [DLFILTER] Exporting Python functions on AIX

Rob Boehne robb at datalogics.com
Fri Jul 27 15:23:01 EDT 2018

Why would a VIM build refer to the export file for python?

From: Python-Dev <python-dev-bounces+robb=datalogics.com at python.org> on behalf of "WILSON, MICHAEL" <michael.a.wilson at atos.net>
Date: Friday, July 27, 2018 at 10:27 AM
To: "python-dev at python.org" <python-dev at python.org>
Cc: "WILSON, MICHAEL" <michael.a.wilson at atos.net>
Subject: [DLFILTER] [Python-Dev] Exporting Python functions on AIX


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/04b8fa8b/attachment.html>

More information about the Python-Dev mailing list