[Python-3000-checkins] r58787 - in python/branches/py3k-pep3137: Lib/struct.py Lib/test/test_struct.py Modules/_struct.c

Christian Heimes lists at cheimes.de
Sat Nov 3 16:11:01 CET 2007


guido.van.rossum wrote:
> Author: guido.van.rossum
> Date: Fri Nov  2 20:33:24 2007
> New Revision: 58787
> 
> Modified:
>    python/branches/py3k-pep3137/Lib/struct.py
>    python/branches/py3k-pep3137/Lib/test/test_struct.py
>    python/branches/py3k-pep3137/Modules/_struct.c
> Log:
> Make test_struct pass.
> Accept anything that's bytes as the data input, but not str instances.

I guess that this check in caused an incompatibility with the Windows
compiler. I can't compile the struct module any more.

c:\dev\python\py3k-pep3137\PCbuild>cl /O1 /I..\Pc /I..\Include
,.\Modules\_struct.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
80x86 Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

_struct.c
..\Modules\_struct.c(1590) : error C2036: 'void *' : unknown size

Christian


More information about the Python-3000-checkins mailing list