STINNER Victor <vstin...@redhat.com> added the comment:
> There are not just two sides. It is common to wrap new stable C API with > something like: > #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000 > What will you do with this? objimpl.h always includes pycapi/pycapi_objimpl.h, so I don't think that we need a strong rules. I propose to always add move code using "#if ... Py_LIMITED_API" to the pycapi/ subdirectory, even if it uses "#if !defined(Py_LIMITED_API)". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35134> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com