[New-bugs-announce] [issue19569] Use __attribute__((deprecated)) to warn usage of deprecated functions and macros
STINNER Victor
report at bugs.python.org
Wed Nov 13 14:11:16 CET 2013
New submission from STINNER Victor:
Python C API evolves. For example, the Unicode type has been rewriten for scratch to use a more efficient design. Would it be possible to mark deprecated functions as deprecated, so users will be noticed that the API evolved and Python has better functions?
For example, PyUnicode_GET_SIZE() is deprecated and returns a different value than PyUnicode_GET_LENGTH() if wchar_t size is 16-bit (ex: Windows and AIX).
GCC has an nice __attribute__((deprecated)) to tag functions.
----------
messages: 202740
nosy: haypo
priority: normal
severity: normal
status: open
title: Use __attribute__((deprecated)) to warn usage of deprecated functions and macros
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19569>
_______________________________________
More information about the New-bugs-announce
mailing list