Re: [Python-Dev] introduction of __attribute__(deprecated) ?

2019年3月24日 15:10:47 -0700

Le dim. 24 mars 2019 à 20:56, Stéphane Wirtel <[email protected]> a écrit :
> So my question is, can we use/add __attribute__(deprecated) in our
> "development" kit?
There is already Py_DEPRECATED(VERSION_UNUSED) macro which uses
__attribute__((__deprecated__)) on GCC >= 3.1.
You can find the doc of a few macros in
https://docs.python.org/dev/c-api/intro.html#useful-macros but this
macro isn't documented there.
pyport.h and pymacro.h contain most of the "macros".
Victor
_______________________________________________
Python-Dev mailing list
[email protected]
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