Lukas J <[email protected]> added the comment:
Indeed it is. Sorry I didn't find it before.
So it seems that changing float("+inf") to sys.maxsize would solve the problem?
I've tried it in an interactive shell:
>>> a = "asd"; import sys
>>> a[:sys.maxsize]
'asd'
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35985>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com