STINNER Victor <vstin...@python.org> added the comment:
> From my view, PySys_GetObject is available since Python3.2 both APIs look > safe to remove. _PySys_GetObjectId() and _PySys_GetObjectId() are private API and can be removed anytime. We don't provide any backward compatibility warranty on the private API: https://docs.python.org/dev/c-api/stable.html#c-api-stability "Names prefixed by an underscore, such as _Py_InternalState, are private API that can change without notice even in patch releases." ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46987> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com