[issue7703] Replace buffer()-->memoryview() in Lib/ctypes/test/

Antoine Pitrou report at bugs.python.org
Thu Jan 14 17:01:56 CET 2010


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

Please be careful with the coding style. Stuff like:

+			  if (_PyString_Resize(&rv, 2*out_len) < 0) \
+			    { Py_DECREF(rv); PyBuffer_Release(&pin); return NULL; } \

should be spread out on several lines.
Otherwise, the binascii patch looks good.

----------

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


More information about the Python-bugs-list mailing list