[New-bugs-announce] [issue4542] test_binascii fails on windows
Amaury Forgeot d'Arc
report at bugs.python.org
Fri Dec 5 02:36:54 CET 2008
New submission from Amaury Forgeot d'Arc <amauryfa at gmail.com>:
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 <report at bugs.python.org>
<http://bugs.python.org/issue4542>
_______________________________________
More information about the New-bugs-announce
mailing list