[New-bugs-announce] [issue16277] Objects/longobject.c not compiled without long long
Serhiy Storchaka
report at bugs.python.org
Thu Oct 18 13:59:50 CEST 2012
New submission from Serhiy Storchaka:
Preprocessor directives emit error in PyLong_FromVoidPtr:
PyLong_FromVoidPtr: sizeof(void*) > sizeof(long), but no long long
if HAVE_LONG_LONG not defined.
Here is a patch which adds missing branch (lost somewhere in 2->3 translation). Also removed non-needed optimization which can cause undefined behavior (C Standard not guarantee (long long)NULL == 0).
----------
components: Interpreter Core
files: long_fromvoidptr.patch
keywords: patch
messages: 173257
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Objects/longobject.c not compiled without long long
type: compile error
versions: Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file27610/long_fromvoidptr.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16277>
_______________________________________
More information about the New-bugs-announce
mailing list