[New-bugs-announce] [issue12973] int_pow() implementation is incorrect

Adam report at bugs.python.org
Tue Sep 13 21:46:50 CEST 2011


New submission from Adam <adam at NetBSD.org>:

int_pow() (from Objects/intobject.c) shows incorrect results when Python is compiled with Clang (llvm.org); long story short: int_pow() function should use 'unsigned long' type instead of 'long' or some code gets optimised out.

Please, refer to this bug report to find out the details:
http://llvm.org/bugs/show_bug.cgi?id=10923

----------
messages: 143985
nosy: adam at NetBSD.org
priority: normal
severity: normal
status: open
title: int_pow() implementation is incorrect
type: behavior
versions: Python 2.7

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


More information about the New-bugs-announce mailing list