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 mark.dickinson, rhettinger, serhiy.storchaka, tim.peters
Date 2019-06-17.23:06:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560812793.07.0.358321509665.issue37319@roundup.psfhosted.org>
In-reply-to
Content
We probably should not do this until we're willing to give PEP 8 guidance recommending operator.index() as preferable to int() for all cases needing integer offsets.  Maybe we do want to go down that path or maybe we just stick with "practicality beats purity" and not create any new learning issues.  The int() function is popular and understandable, but it is rare to find a user who knows and cares about index().  ISTM that randrange(3.0) isn't a problem in real life.
History
Date User Action Args
2019-06-17 23:06:33rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, serhiy.storchaka
2019-06-17 23:06:33rhettingersetmessageid: <1560812793.07.0.358321509665.issue37319@roundup.psfhosted.org>
2019-06-17 23:06:33rhettingerlinkissue37319 messages
2019-06-17 23:06:32rhettingercreate