commit | 48035eb45269beddfaf3339fbecc3c264c57fd84 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Feb 12 17:05:26 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Feb 12 17:05:26 2003 +0000 |
tree | 6e494faded077ac600133979c64887a98aea4237 | |
parent | 66b1259dbc2cf4aaefd779d76c4a83fe8003bafd [diff] |
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!