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.

作者 amaury.forgeotdarc
收信人 amaury.forgeotdarc
日期 2008-12-05.01:36:52
SpamBayes Score 0.00044022713
Marked as misclassified
Message-id <1228441014.26.0.452490077476.issue4542@psf.upfronthosting.co.za>
In-reply-to
内容
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;
历史
日期 用户 动作 参数
2008-12-05 01:36:54amaury.forgeotdarc修改recipients: + amaury.forgeotdarc
2008-12-05 01:36:54amaury.forgeotdarc修改messageid: <1228441014.26.0.452490077476.issue4542@psf.upfronthosting.co.za>
2008-12-05 01:36:53amaury.forgeotdarc链接issue4542 messages
2008-12-05 01:36:53amaury.forgeotdarc创建