A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-March/156857.html below:

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

[Python-Dev] introduction of __attribute__(deprecated) ? [Python-Dev] introduction of __attribute__(deprecated) ?Victor Stinner vstinner at redhat.com
Sun Mar 24 18:07:37 EDT 2019
Le dim. 24 mars 2019 à 20:56, Stéphane Wirtel <stephane at wirtel.be> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4