[ python-Bugs-1441486 ] yet another svn head compiler change

SourceForge.net noreply at sourceforge.net
Sun Jul 9 23:21:50 CEST 2006


Bugs item #1441486, was opened at 2006-03-02 06:39
Message generated for change (Settings changed) made by nascheme
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1441486&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Michael Hudson (mwh)
>Assigned to: Neil Schemenauer (nascheme)
Summary: yet another svn head compiler change

Initial Comment:
This one seems stangely familiar:

$ 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


----------------------------------------------------------------------

>Comment By: Neil Schemenauer (nascheme)
Date: 2006-07-09 21:21

Message:
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.

----------------------------------------------------------------------

Comment By: Grant Olson (logistix)
Date: 2006-03-10 02:33

Message:
Logged In: YES 
user_id=699438

Patch 1446922 posted.

----------------------------------------------------------------------

Comment By: Grant Olson (logistix)
Date: 2006-03-06 23:47

Message:
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"

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1441486&group_id=5470


More information about the Python-bugs-list mailing list