This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients brian.curtin, loewis, nadeem.vawda, skrah, vstinner
Date 2012-09-22.08:32:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348302737.57.0.729142629575.issue15993@psf.upfronthosting.co.za>
In-reply-to
Content
System: Windows 7 64-bit
Build (unpatched): PCBuild\Win32-pgo\python.exe, trained with profile.bat


In the unpatched version, I stepped through this test case in the debugger:

import array
a = array.array('Q', [1])
m = memoryview(a)
m[0] = 1


At Objects/memoryobject.c:1572:  llu == 1

At Objects/memoryobject.c:1782:  pylong_as_llu returned value 4294967296



So I think it's pretty safe to say that this is indeed an optimizer bug.
History
Date User Action Args
2012-09-22 08:32:17skrahsetrecipients: + skrah, loewis, vstinner, nadeem.vawda, brian.curtin
2012-09-22 08:32:17skrahsetmessageid: <1348302737.57.0.729142629575.issue15993@psf.upfronthosting.co.za>
2012-09-22 08:32:17skrahlinkissue15993 messages
2012-09-22 08:32:16skrahcreate