summaryrefslogtreecommitdiffstats
path: root/Demo/turtle/tdemo_clock.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-05-21 14:55:26 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-05-21 14:55:26 (GMT)
commitcc6a982de8b9030a04d85f69a29772bf6c3f442f (patch)
tree29cf0726c7e791329c7a540b7f4847956c50c1e9 /Demo/turtle/tdemo_clock.py
parentf0feec2cb684681139ad81acf4a6a541b57a6274 (diff)
downloadcpython-cc6a982de8b9030a04d85f69a29772bf6c3f442f.zip
cpython-cc6a982de8b9030a04d85f69a29772bf6c3f442f.tar.gz
cpython-cc6a982de8b9030a04d85f69a29772bf6c3f442f.tar.bz2
Issue #8748: Fix two issues with comparisons between complex and integer
objects. (1) The comparison could incorrectly return True in some cases (2**53+1 == complex(2**53) == 2**53), breaking transivity of equality. (2) The comparison raised an OverflowError for large integers, leading to unpredictable exceptions when combining integers and complex objects in sets or dicts. Patch by Meador Inge.
Diffstat (limited to 'Demo/turtle/tdemo_clock.py')
0 files changed, 0 insertions, 0 deletions