summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorlarryhastings <larry@hastings.org>2017-09-04 20:30:19 (GMT)
committerGitHub <noreply@github.com>2017-09-04 20:30:19 (GMT)
commitf9f17346d722b6f073a048b41ec0d6adf336d1d2 (patch)
tree419ced40748802468c84a321be18777a0eb47626 /Misc/NEWS.d/next/C API
parent002d64039b60c1a9289f981fe73a5cf91d082136 (diff)
downloadcpython-f9f17346d722b6f073a048b41ec0d6adf336d1d2.zip
cpython-f9f17346d722b6f073a048b41ec0d6adf336d1d2.tar.gz
cpython-f9f17346d722b6f073a048b41ec0d6adf336d1d2.tar.bz2
Blurbify master branch. (#3298)
Blurbify master branch.
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/0061.bpo-28426.zPwvbI.rst3
-rw-r--r--Misc/NEWS.d/next/C API/0062.bpo-19569.IPke0J.rst1
-rw-r--r--Misc/NEWS.d/next/C API/0063.bpo-28748.AMgb_G.rst2
-rw-r--r--Misc/NEWS.d/next/C API/0064.bpo-28761.iOgCoX.rst3
-rw-r--r--Misc/NEWS.d/next/C API/0065.bpo-28808.A03X6r.rst1
-rw-r--r--Misc/NEWS.d/next/C API/0066.bpo-28822.gMqwvb.rst2
-rw-r--r--Misc/NEWS.d/next/C API/0067.bpo-29058.0wNVP8.rst3
-rw-r--r--Misc/NEWS.d/next/C API/0068.bpo-28769.Ecmtn8.rst2
-rw-r--r--Misc/NEWS.d/next/C API/0069.bpo-29083.tGTjr_.rst5
-rw-r--r--Misc/NEWS.d/next/C API/0070.bpo-27867.J-8CGo.rst4
-rw-r--r--Misc/NEWS.d/next/C API/0071.bpo-6532.qcH6k1.rst3
-rw-r--r--Misc/NEWS.d/next/C API/0072.bpo-16500.lRpooa.rst2
-rw-r--r--Misc/NEWS.d/next/C API/0073.bpo-30708.np-l1j.rst2
13 files changed, 33 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/0061.bpo-28426.zPwvbI.rst b/Misc/NEWS.d/next/C API/0061.bpo-28426.zPwvbI.rst
new file mode 100644
index 0000000..9f18b72
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0061.bpo-28426.zPwvbI.rst
@@ -0,0 +1,3 @@
+Deprecated undocumented functions PyUnicode_AsEncodedObject(),
+PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
+PyUnicode_AsEncodedUnicode().
diff --git a/Misc/NEWS.d/next/C API/0062.bpo-19569.IPke0J.rst b/Misc/NEWS.d/next/C API/0062.bpo-19569.IPke0J.rst
new file mode 100644
index 0000000..703569a
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0062.bpo-19569.IPke0J.rst
@@ -0,0 +1 @@
+Compiler warnings are now emitted if use most of deprecated functions.
diff --git a/Misc/NEWS.d/next/C API/0063.bpo-28748.AMgb_G.rst b/Misc/NEWS.d/next/C API/0063.bpo-28748.AMgb_G.rst
new file mode 100644
index 0000000..c0de814
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0063.bpo-28748.AMgb_G.rst
@@ -0,0 +1,2 @@
+Private variable _Py_PackageContext is now of type ``const char *`` rather
+of ``char *``.
diff --git a/Misc/NEWS.d/next/C API/0064.bpo-28761.iOgCoX.rst b/Misc/NEWS.d/next/C API/0064.bpo-28761.iOgCoX.rst
new file mode 100644
index 0000000..659edc1
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0064.bpo-28761.iOgCoX.rst
@@ -0,0 +1,3 @@
+The fields name and doc of structures PyMemberDef, PyGetSetDef,
+PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of
+type ``const char *`` rather of ``char *``.
diff --git a/Misc/NEWS.d/next/C API/0065.bpo-28808.A03X6r.rst b/Misc/NEWS.d/next/C API/0065.bpo-28808.A03X6r.rst
new file mode 100644
index 0000000..61276cd
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0065.bpo-28808.A03X6r.rst
@@ -0,0 +1 @@
+PyUnicode_CompareWithASCIIString() now never raises exceptions.
diff --git a/Misc/NEWS.d/next/C API/0066.bpo-28822.gMqwvb.rst b/Misc/NEWS.d/next/C API/0066.bpo-28822.gMqwvb.rst
new file mode 100644
index 0000000..63a13c8
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0066.bpo-28822.gMqwvb.rst
@@ -0,0 +1,2 @@
+The index parameters *start* and *end* of PyUnicode_FindChar() are now
+adjusted to behave like ``str[start:end]``.
diff --git a/Misc/NEWS.d/next/C API/0067.bpo-29058.0wNVP8.rst b/Misc/NEWS.d/next/C API/0067.bpo-29058.0wNVP8.rst
new file mode 100644
index 0000000..6f2fd6d
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0067.bpo-29058.0wNVP8.rst
@@ -0,0 +1,3 @@
+All stable API extensions added after Python 3.2 are now available only when
+Py_LIMITED_API is set to the PY_VERSION_HEX value of the minimum Python
+version supporting this API.
diff --git a/Misc/NEWS.d/next/C API/0068.bpo-28769.Ecmtn8.rst b/Misc/NEWS.d/next/C API/0068.bpo-28769.Ecmtn8.rst
new file mode 100644
index 0000000..e2e7570
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0068.bpo-28769.Ecmtn8.rst
@@ -0,0 +1,2 @@
+The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of
+type ``const char *`` rather of ``char *``.
diff --git a/Misc/NEWS.d/next/C API/0069.bpo-29083.tGTjr_.rst b/Misc/NEWS.d/next/C API/0069.bpo-29083.tGTjr_.rst
new file mode 100644
index 0000000..639fc25
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0069.bpo-29083.tGTjr_.rst
@@ -0,0 +1,5 @@
+Fixed the declaration of some public API functions. PyArg_VaParse() and
+PyArg_VaParseTupleAndKeywords() were not available in limited API.
+PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue()
+were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is
+defined.
diff --git a/Misc/NEWS.d/next/C API/0070.bpo-27867.J-8CGo.rst b/Misc/NEWS.d/next/C API/0070.bpo-27867.J-8CGo.rst
new file mode 100644
index 0000000..dbfeede
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0070.bpo-27867.J-8CGo.rst
@@ -0,0 +1,4 @@
+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().
diff --git a/Misc/NEWS.d/next/C API/0071.bpo-6532.qcH6k1.rst b/Misc/NEWS.d/next/C API/0071.bpo-6532.qcH6k1.rst
new file mode 100644
index 0000000..82b8e6b
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0071.bpo-6532.qcH6k1.rst
@@ -0,0 +1,3 @@
+The type of results of PyThread_start_new_thread() and
+PyThread_get_thread_ident(), and the id parameter of
+PyThreadState_SetAsyncExc() changed from "long" to "unsigned long".
diff --git a/Misc/NEWS.d/next/C API/0072.bpo-16500.lRpooa.rst b/Misc/NEWS.d/next/C API/0072.bpo-16500.lRpooa.rst
new file mode 100644
index 0000000..521aea8
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0072.bpo-16500.lRpooa.rst
@@ -0,0 +1,2 @@
+Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(),
+PyOS_AfterFork_Parent() and PyOS_AfterFork_Child().
diff --git a/Misc/NEWS.d/next/C API/0073.bpo-30708.np-l1j.rst b/Misc/NEWS.d/next/C API/0073.bpo-30708.np-l1j.rst
new file mode 100644
index 0000000..f74ca22
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/0073.bpo-30708.np-l1j.rst
@@ -0,0 +1,2 @@
+PyUnicode_AsWideCharString() now raises a ValueError if the second argument
+is NULL and the wchar_t\* string contains null characters.