summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-01-09 21:45:28 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-01-09 21:45:28 (GMT)
commit8667a9b6ea414fb78c0c71d411d86c5cfffbf549 (patch)
treede4e301e504d9b734a543f441581e99ee307537e /Misc
parentc36c3789dee99b3e2d01ee47731b62200157ba16 (diff)
downloadcpython-8667a9b6ea414fb78c0c71d411d86c5cfffbf549.zip
cpython-8667a9b6ea414fb78c0c71d411d86c5cfffbf549.tar.gz
cpython-8667a9b6ea414fb78c0c71d411d86c5cfffbf549.tar.bz2
Python strings ending with '\0' should not be equivalent to their C counterparts in PyUnicode_CompareWithASCIIString
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index adf9fb3..fc9fa63 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -155,6 +155,9 @@ Core and Builtins
C-API
-----
+- Make PyUnicode_CompareWithASCIIString return not equal if the Python string
+ has '\0' at the end.
+
- Issue #5080: The argument parsing functions PyArg_ParseTuple,
PyArg_ParseTupleAndKeywords, PyArg_VaParse,
PyArg_VaParseTupleAndKeywords and PyArg_Parse now raise a