diff options
author | Guido van Rossum <guido@python.org> | 2003-02-12 17:05:26 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-12 17:05:26 (GMT) |
commit | 48035eb45269beddfaf3339fbecc3c264c57fd84 (patch) | |
tree | 6e494faded077ac600133979c64887a98aea4237 /Lib/test/test_hexoct.py | |
parent | 66b1259dbc2cf4aaefd779d76c4a83fe8003bafd (diff) | |
download | cpython-48035eb45269beddfaf3339fbecc3c264c57fd84.zip cpython-48035eb45269beddfaf3339fbecc3c264c57fd84.tar.gz cpython-48035eb45269beddfaf3339fbecc3c264c57fd84.tar.bz2 |
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!
Diffstat (limited to 'Lib/test/test_hexoct.py')
0 files changed, 0 insertions, 0 deletions