You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/nascheme'closed_at=<Date2006-07-09.21:21:49.000>created_at=<Date2006-03-02.06:39:20.000>labels= ['interpreter-core']
title='yet another svn head compiler change'updated_at=<Date2006-07-09.21:21:49.000>user='https://github.com/mwhudson'
$ python2.4
Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> -2147483648
-2147483648
>>>
$ ~/Source/python/build/python.exe
Python 2.5a0 (trunk:42764M, Mar 1 2006, 18:21:57)
[GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> -2147483648
-2147483648L
Activity
mwhudson commentedon Mar 2, 2006
This one seems stangely familiar:
logistix commentedon Mar 6, 2006
Logged In: YES
user_id=699438
It looks like the parser is seeing this as unary minus
applied to 2147483648 instead of the literal "-2147483648"
logistix commentedon Mar 10, 2006
Logged In: YES
user_id=699438
Patch 1446922 posted.
nascheme commentedon Jul 9, 2006
Logged In: YES
user_id=35752
Fixed in SVN rev 50495. I did the folding in the CST->AST
phase, similar to how it was done in the old compiler.