diff options
author | Pieter Eendebak <pieter.eendebak@gmail.com> | 2023-01-21 19:33:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-21 19:33:08 (GMT) |
commit | f63f525e161204970418ebc132efc542daaa24ed (patch) | |
tree | 9b3e30f087e490184d19d07a7a1b745430357035 /Lib/urllib/request.py | |
parent | b4e11a7985a3bc116596c63d1e5f8bbd653041b9 (diff) | |
download | cpython-f63f525e161204970418ebc132efc542daaa24ed.zip cpython-f63f525e161204970418ebc132efc542daaa24ed.tar.gz cpython-f63f525e161204970418ebc132efc542daaa24ed.tar.bz2 |
gh-100726: Optimize construction of range object for medium sized integers (#100810)
Use C long arithmetic instead of PyLong arithmetic to compute the range length, where possible.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Diffstat (limited to 'Lib/urllib/request.py')
0 files changed, 0 insertions, 0 deletions