summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_hexoct.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-12 17:05:26 (GMT)
committerGuido van Rossum <guido@python.org>2003-02-12 17:05:26 (GMT)
commit48035eb45269beddfaf3339fbecc3c264c57fd84 (patch)
tree6e494faded077ac600133979c64887a98aea4237 /Lib/test/test_hexoct.py
parent66b1259dbc2cf4aaefd779d76c4a83fe8003bafd (diff)
downloadcpython-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