diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-09-28 17:54:52 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-09-28 17:54:52 (GMT) |
commit | 24f5785fea264c0f2416328a4ecad9769ca26cb8 (patch) | |
tree | c306a1919dbcd7067f00ae0647b3db9bac3fdcd3 /Lib/urllib | |
parent | 3c976a0437a0011fda71e8eac18c1854bd8fdb64 (diff) | |
download | cpython-24f5785fea264c0f2416328a4ecad9769ca26cb8.zip cpython-24f5785fea264c0f2416328a4ecad9769ca26cb8.tar.gz cpython-24f5785fea264c0f2416328a4ecad9769ca26cb8.tar.bz2 |
Merged revisions 75110 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75110 | mark.dickinson | 2009-09-28 17:52:40 +0100 (Mon, 28 Sep 2009) | 9 lines
Style/consistency/nano-optimization nit: replace occurrences of
(high_bits << PyLong_SHIFT) + low_bits with
(high_bits << PyLong_SHIFT) | low_bits
in Objects/longobject.c. Motivation:
- shouldn't unnecessarily mix bit ops with arithmetic ops (style)
- this pattern should be spelt the same way thoughout (consistency)
- it's very very very slightly faster: no need to worry about
carries to the high digit (nano-optimization).
........
Diffstat (limited to 'Lib/urllib')
0 files changed, 0 insertions, 0 deletions