This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc
Date 2008-12-05.01:36:52
SpamBayes Score 0.00044022713
Marked as misclassified No
Message-id <1228441014.26.0.452490077476.issue4542@psf.upfronthosting.co.za>
In-reply-to
Content
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;
History
Date User Action Args
2008-12-05 01:36:54amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc
2008-12-05 01:36:54amaury.forgeotdarcsetmessageid: <1228441014.26.0.452490077476.issue4542@psf.upfronthosting.co.za>
2008-12-05 01:36:53amaury.forgeotdarclinkissue4542 messages
2008-12-05 01:36:53amaury.forgeotdarccreate