[issue9783] _elementtree.c warnings under 64-bit Windows

Jon Anglin report at bugs.python.org
Fri Sep 24 04:00:33 CEST 2010


Jon Anglin <janglin at fortresgrand.com> added the comment:

issue9783.diff provides a patch that will compile clean on 32 and 64 bit Windows systems.  I tried to avoid explicit casts where I could, but it was not always possible. I have ported a lot of my company's code to 64 bit (all Windows based).  In my experience many warnings are because of programmers using the int type in places where a size_t may be more appropriate. Most of the warnings here are due to mixing int and Py_ssize_t types.

----------
keywords: +patch
Added file: http://bugs.python.org/file18988/issue9783.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9783>
_______________________________________


More information about the Python-bugs-list mailing list