diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-12-21 01:53:38 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-12-21 01:53:38 (GMT) |
commit | e1ae3660846787824b76834feb8fef068b6b59ee (patch) | |
tree | 0c97c08a0c95798dcde880183cab9df92303ff93 /Tools | |
parent | 043e9f1431c954fcefb8b3180ee137ee981e457f (diff) | |
download | cpython-e1ae3660846787824b76834feb8fef068b6b59ee.zip cpython-e1ae3660846787824b76834feb8fef068b6b59ee.tar.gz cpython-e1ae3660846787824b76834feb8fef068b6b59ee.tar.bz2 |
Blocked revisions 67818,67822,67850,67857 via svnmerge
........
r67818 | antoine.pitrou | 2008-12-16 18:38:28 -0600 (Tue, 16 Dec 2008) | 3 lines
Issue #2183: Simplify and optimize bytecode for list comprehensions.
........
r67822 | mark.dickinson | 2008-12-17 10:14:37 -0600 (Wed, 17 Dec 2008) | 4 lines
Issue #3439: add bit_length method to int and long.
Thanks Fredrik Johansson and Victor Stinner for code,
Raymond Hettinger for review.
........
r67850 | raymond.hettinger | 2008-12-19 03:06:07 -0600 (Fri, 19 Dec 2008) | 9 lines
Fix-up and clean-up docs for int.bit_length().
* Replace dramatic footnote with in-line comment about possible round-off errors in logarithms of large numbers.
* Add comments to the pure python code equivalent.
* replace floor() with int() in the mathematical equivalent so the type is correct (should be an int, not a float).
* add abs() to the mathematical equivalent so that it matches the previous line that it is supposed to be equivalent to.
* make one combined example with a negative input.
........
r67857 | mark.dickinson | 2008-12-19 11:46:51 -0600 (Fri, 19 Dec 2008) | 2 lines
Fix typo in Python equivalent for bit_length.
........
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions