]> granicus.if.org Git - python/commit
SF #660455 : patch by NNorwitz.
authorGuido van Rossum <guido@python.org>
Wed, 12 Feb 2003 17:05:26 +0000 (17:05 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 12 Feb 2003 17:05:26 +0000 (17:05 +0000)
commit48035eb45269beddfaf3339fbecc3c264c57fd84
tree6e494faded077ac600133979c64887a98aea4237
parent66b1259dbc2cf4aaefd779d76c4a83fe8003bafd
SF #660455 : patch by NNorwitz.

"Unsigned" (i.e., positive-looking, but really negative) hex/oct
constants with a leading minus sign are once again properly negated.
The micro-optimization for negated numeric constants did the wrong
thing for such hex/oct constants.  The patch avoids the optimization
for all hex/oct constants.

This needs to be backported to Python 2.2!
Misc/NEWS