[New-bugs-announce] [issue9612] setobject.c warnings under 64-bit Windows

Antoine Pitrou report at bugs.python.org
Sun Aug 15 19:33:37 CEST 2010


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

None of these warnings look critical (one affects the "search finger" optimization of pop(), one affects the result from __length_hint__ on set iterators, and the other the hash value of frozensets without any obviously bad consequences), but you might want to take a look at them anyway.

(for the record, a C "long" is 32-bit under 64-bit Windows, so a Py_ssize_t won't fit in it)

1>..\Objects\setobject.c(743) : warning C4244: '=' : conversion from 'Py_ssize_t' to 'long', possible loss of data
1>..\Objects\setobject.c(772) : warning C4244: '*=' : conversion from 'Py_ssize_t' to 'long', possible loss of data
1>..\Objects\setobject.c(819) : warning C4244: 'function' : conversion from 'Py_ssize_t' to 'long', possible loss of data

----------
assignee: rhettinger
components: Interpreter Core
messages: 113976
nosy: pitrou, rhettinger
priority: low
severity: normal
status: open
title: setobject.c warnings under 64-bit Windows
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2

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


More information about the New-bugs-announce mailing list