[issue13461] Error on test_issue_1395_5 with Python 2.7 and VS2010

Antoine Pitrou report at bugs.python.org
Thu Nov 24 15:39:46 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

What if you replace:

PyObject *decoded = PyObject_CallMethod(
            self->decoder, "decode", "s#", input, 1);

with:

PyObject *decoded = PyObject_CallMethod(
            self->decoder, "decode", "s#", input, (Py_ssize_t) 1);

----------
nosy: +brian.curtin, loewis, pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13461>
_______________________________________


More information about the Python-bugs-list mailing list