homepage

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.

classification
Title: yet another svn head compiler change
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: nascheme Nosy List: logistix, mwh, nascheme
Priority: normal Keywords:

Created on 2006年03月02日 06:39 by mwh, last changed 2022年04月11日 14:56 by admin. This issue is now closed.

Messages (4)
msg27646 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2006年03月02日 06:39
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
msg27647 - (view) Author: Grant Olson (logistix) Date: 2006年03月06日 23:47
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"
msg27648 - (view) Author: Grant Olson (logistix) Date: 2006年03月10日 02:33
Logged In: YES 
user_id=699438
Patch 1446922 posted.
msg27649 - (view) Author: Neil Schemenauer (nascheme) * (Python committer) Date: 2006年07月09日 21:21
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.
History
Date User Action Args
2022年04月11日 14:56:15adminsetgithub: 42965
2006年03月02日 06:39:20mwhcreate

AltStyle によって変換されたページ (->オリジナル) /