New submission from Antoine Pitrou <pit...@free.fr>:

Under 64-bit Windows, Python aliases PyLong_FromPid() to PyLong_FromLong() (and 
PyLong_AsPid() to PyLong_AsLong()), but a C "long" is 32-bit, while apparently 
the MSVCRT defines a pid to be intptr_t, that is 64-bit. A potential loss of 
data ensues.

----------
components: Extension Modules, Interpreter Core, Windows
messages: 113982
nosy: brian.curtin, pitrou, tim.golden
priority: normal
severity: normal
status: open
title: Python considers pid longs under 64-bit Windows
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9613>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to