Bug #1515471: string.replace() accepts character buffers again.
Pass the char* and size around rather than PyObject's.
diff --git a/Misc/NEWS b/Misc/NEWS
index dac1129..76b76de 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,8 @@
 Core and builtins
 -----------------
 
+- Bug #1515471: string.replace() accepts character buffers again.
+
 - Add PyErr_WarnEx() so C code can pass the stacklevel to warnings.warn().
   This provides the proper warning for struct.pack().
   PyErr_Warn() is now deprecated in favor of PyErr_WarnEx().