New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: issue #4387 (67472) changed binascii and added tests, but the windows specific implementation was not changed. Change is trivial:
Index: Modules/binascii.c =================================================================== --- Modules/binascii.c (revision 67538) +++ Modules/binascii.c (working copy) @@ -1019,7 +1019,7 @@ Py_ssize_t len; unsigned int result; - if ( !PyArg_ParseTuple(args, "s*|I:crc32", &pbin, &crc) ) + if ( !PyArg_ParseTuple(args, "y*|I:crc32", &pbin, &crc) ) return NULL; bin_data = pbin.buf; len = pbin.len; ---------- components: Windows keywords: easy, patch messages: 76963 nosy: amaury.forgeotdarc severity: normal status: open title: test_binascii fails on windows versions: Python 3.0 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4542> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com