[issue42147] Micro optimization for longrange iteration if step is 1

Dong-hee Na report at bugs.python.org
Sun Oct 25 12:57:23 EDT 2020


Dong-hee Na <donghee.na at python.org> added the comment:

if somebody try to sum very large value with range.
sum(range(1 << 1000, (1 << 1000) + 100))
it can be affected by this patch.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42147>
_______________________________________


More information about the Python-bugs-list mailing list