diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-01-06 19:28:31 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-01-06 19:28:31 (GMT) |
commit | 189c09161261c76371f6f9cd99c83a79a8247712 (patch) | |
tree | 52500810e1ec8e7c970d422120c19ddebc2ce917 /Include | |
parent | a572476a2ae9c5d20812d076d6f4172fc160bb61 (diff) | |
download | cpython-189c09161261c76371f6f9cd99c83a79a8247712.zip cpython-189c09161261c76371f6f9cd99c83a79a8247712.tar.gz cpython-189c09161261c76371f6f9cd99c83a79a8247712.tar.bz2 |
Drop bf_getbuffer/bf_releasebuffer from stable ABI,
see #10181.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/typeslots.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Include/typeslots.h b/Include/typeslots.h index 9ab9850..9be8ecd 100644 --- a/Include/typeslots.h +++ b/Include/typeslots.h @@ -1,5 +1,7 @@ -#define Py_bf_getbuffer 1 -#define Py_bf_releasebuffer 2 +/* Do not renumber the file; these numbers are part of the stable ABI. */ +/* Disabled, see #10181 */ +#undef Py_bf_getbuffer +#undef Py_bf_releasebuffer #define Py_mp_ass_subscript 3 #define Py_mp_length 4 #define Py_mp_subscript 5 |