summaryrefslogtreecommitdiff
path: root/doc/release
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-08-11 14:27:48 -0600
committerCharles Harris <charlesr.harris@gmail.com>2020-08-19 09:12:14 -0600
commit8c226bf9b19a3b974bc63421918d068660ba506c (patch)
tree676d2a6b2aa47a43e02b651f05290a3e70607a4e /doc/release
parent00a45b4dca164105b50ba29e1735e96b573b639c (diff)
downloadnumpy-8c226bf9b19a3b974bc63421918d068660ba506c.tar.gz
MAINT: Remove uses of PyString_FromString.
We no longer need to use the compatibility function after dropping support for Python 2.7. In some cases unicode was the correct string type rather than the bytes of the compatibility version and bugs in the array `__complex__` and array `__array_interface__` methods have been fixed by changing that.
Diffstat (limited to 'doc/release')
-rw-r--r--doc/release/upcoming_changes/17068.compatibility.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/17068.compatibility.rst b/doc/release/upcoming_changes/17068.compatibility.rst
new file mode 100644
index 000000000..7aa4e58ae
--- /dev/null
+++ b/doc/release/upcoming_changes/17068.compatibility.rst
@@ -0,0 +1,4 @@
+f2py generated code may return unicode instead of byte strings
+--------------------------------------------------------------
+Some byte strings previously returned by f2py generated code may now be unicode
+strings. This results from the ongoing Python2 -> Python3 cleanup.