summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-10-18 14:18:10 -0600
committerCharles Harris <charlesr.harris@gmail.com>2020-10-18 15:05:25 -0600
commitcf06cd41ba8bd49b3ada8aa333df8e562829247b (patch)
tree85fae9ed78814a08ff5c64a2ac5afae4147f60ae /doc
parenta5aae4f4cd852b64f5f36e8c225895b3a2113c48 (diff)
downloadnumpy-cf06cd41ba8bd49b3ada8aa333df8e562829247b.tar.gz
MAINT: Cleanup swig for Python 3.
Replaces ``PyInt_Check`` and ``PyInt_AsLong`` in a few places.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/upcoming_changes/17580.compatibility.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/17580.compatibility.rst b/doc/release/upcoming_changes/17580.compatibility.rst
new file mode 100644
index 000000000..b8e1849af
--- /dev/null
+++ b/doc/release/upcoming_changes/17580.compatibility.rst
@@ -0,0 +1,4 @@
+The numpy.i file for swig is Python 3 only.
+-------------------------------------------
+Uses of Python 2.7 C-API functions have been updated to Python 3 only. Users
+who need the old version should take it from an older version of NumPy.