This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Lukas J
Recipients Lukas J, barry, r.david.murray, xtreak
Date 2019-02-13.12:22:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550060560.89.0.844622315854.issue35985@roundup.psfhosted.org>
In-reply-to
Content
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'
History
Date User Action Args
2019-02-13 12:22:40Lukas Jsetrecipients: + Lukas J, barry, r.david.murray, xtreak
2019-02-13 12:22:40Lukas Jsetmessageid: <1550060560.89.0.844622315854.issue35985@roundup.psfhosted.org>
2019-02-13 12:22:40Lukas Jlinkissue35985 messages
2019-02-13 12:22:40Lukas Jcreate