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 rhettinger
Recipients rhettinger, ynikitenko
Date 2019-11-14.18:00:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573754424.26.0.128990146775.issue38801@roundup.psfhosted.org>
In-reply-to
Content
Hello Yaroslav.  What you've observed was a intentional change to make islice() behave more like regular slices.  Neither of those accept floats which are precarious to use for indexing.

A workaround is to replace 1e+6 with 10**6.
History
Date User Action Args
2019-11-14 18:00:24rhettingersetrecipients: + rhettinger, ynikitenko
2019-11-14 18:00:24rhettingersetmessageid: <1573754424.26.0.128990146775.issue38801@roundup.psfhosted.org>
2019-11-14 18:00:24rhettingerlinkissue38801 messages
2019-11-14 18:00:23rhettingercreate