Yes, all symbols starting with _Py are private and must not be used outside
CPython internals.

Victor

Le vendredi 27 juillet 2018, WILSON, MICHAEL <michael.a.wil...@atos.net> a
écrit :
> All,
>
> 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
>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to