On 27.03.17 13:43, Victor Stinner wrote:
2017-03-27 12:22 GMT+02:00 Serhiy Storchaka <storch...@gmail.com>:
Should we to do something with this? Maybe add Py-prefixed aliases and
temporary keep old names for compatibility (but allow to hide them if define
a special macro)?

Is is possible to keep backward compatibility if an older version of
the stable ABI is explicitly requested?

Something like:

#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x03070000
#define getter _Py_getter
....
#endif

I think it is better to use typedef than #define.


_______________________________________________
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