Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12abc86 commit 3663b58Copy full SHA for 3663b58
1 file changed
Python/codecs.c
@@ -1019,7 +1019,7 @@ PyObject *PyCodec_NameReplaceErrors(PyObject *exc)
1019
*outp++ = Py_hexdigits[c&0xf];
1020
}
1021
1022
- assert(outp == start + ressize);
+ assert(outp == PyUnicode_1BYTE_DATA(res) + ressize);
1023
assert(_PyUnicode_CheckConsistency(res, 1));
1024
restuple = Py_BuildValue("(Nn)", res, end);
1025
Py_DECREF(object);
0 commit comments