summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-25 11:27:44 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-25 11:27:44 (GMT)
commit6e08baf12da60950561d50273799df93d120c127 (patch)
tree47c83df77e52659776a270fe29509c21b9174af5 /Doc/whatsnew
parenta8df8471d254086548325ffc451cdb73111bce83 (diff)
parent512c57cb72e108d0f68ceecbc88dfe3b2eb56371 (diff)
downloadcpython-6e08baf12da60950561d50273799df93d120c127.zip
cpython-6e08baf12da60950561d50273799df93d120c127.tar.gz
cpython-6e08baf12da60950561d50273799df93d120c127.tar.bz2
Issue #27867: Function PySlice_GetIndicesEx() is deprecated and replaced with
a macro if Py_LIMITED_API is not set or set to the value between 0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. Added functions PySlice_Unpack() and PySlice_AdjustIndices().
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.7.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 129d4d4..81ad4f9 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -128,10 +128,17 @@ Build and C API Changes
is now of type ``const char *`` rather of ``char *``.
(Contributed by Serhiy Storchaka in :issue:`28769`.)
+* Added functions :c:func:`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`.
+ (Contributed by Serhiy Storchaka in :issue:`27867`.)
+
Deprecated
==========
+- Function :c:func:`PySlice_GetIndicesEx` is deprecated and replaced with
+ a macro if ``Py_LIMITED_API`` is not set or set to the value between
+ ``0x03050400`` and ``0x03060000`` (not including) or ``0x03060100`` or
+ higher. (Contributed by Serhiy Storchaka in :issue:`27867`.)
Removed