Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

For large but smaller than the C limit ranges the list constructor raises a 
MemoryError. It should raise the same error for larger ranges.

Raising an OverflowError in range.__len__ is legitimate.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36552>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to