On Sun, Jul 09, 2006 at 03:02:06PM -0700, Neal Norwitz wrote: > Do we care about this (after your checkin and with my fix to make > 32-63 bit values ints rather than longs): > > # 64 bit box > >>>minint = str(-sys.maxint - 1) > >>>minint > '-9223372036854775808' > >>>eval(minint) > -9223372036854775808 > >>>eval('-(%s)' % minint[1:]) > -9223372036854775808L I don't think we care. Python <= 2.4 has the same behavior (i.e. adding parens defeats the constant folding since it's done at the syntax tree level). Where's your fix regarding 32-63 bit ints? I'm not familiar with that issue but my recent check-in appears to have broke the 64-bit buildbots. If no one can explain what's going on there then I guess I will have to find a login on a 64-bit machine at debug it myself. Neil
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4