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

Antoine Pitrou report at bugs.python.org
Mon Sep 6 14:49:53 CEST 2010


New submission from Antoine Pitrou <pitrou at free.fr>:

Some of these warnings could be serious (e.g. the one where the 64-bit "self" is converted to a 32-bit "long"):

13>..\Modules\_elementtree.c(696) : warning C4244: 'function' : conversion from 'Py_uintptr_t' to 'long', possible loss of data
13>..\Modules\_elementtree.c(1239) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data
13>..\Modules\_elementtree.c(1372) : warning C4244: 'function' : conversion from 'Py_ssize_t' to 'int', possible loss of data
13>..\Modules\_elementtree.c(1414) : warning C4244: '+=' : conversion from 'Py_ssize_t' to 'int', possible loss of data
13>..\Modules\_elementtree.c(2076) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
13>..\Modules\_elementtree.c(2663) : warning C4244: 'function' : conversion from 'Py_ssize_t' to 'int', possible loss of data

----------
components: Extension Modules, Windows
messages: 115700
nosy: effbot, flox, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: _elementtree.c warnings under 64-bit Windows
type: compile error
versions: Python 3.2

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


More information about the Python-bugs-list mailing list