Author serhiy.storchaka
Recipients Devin Jeanpierre, docs@python, rhettinger, serhiy.storchaka, veky
Date 2016-09-21.15:28:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sorry for poor words. I was not going to blame anybody. But changing interface always is dangerous. It makes third-party classes that implemented the interface no longer valid substitutions.

I think two things are worth to be done:

1) Explicitly document (including the docstring) that the support of stop and start arguments is optional. Not all sequences implements it. 3.5+.

2) Add the support of stop and start arguments to range() in 3.7.

And would be nice to provide a way for testing if the sequence supports extended index(). If this is possible.
Date User Action Args
2016-09-21 15:28:55serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, Devin Jeanpierre, docs@python, veky
2016-09-21 15:28:54serhiy.storchakasetmessageid: <>
2016-09-21 15:28:54serhiy.storchakalinkissue28197 messages
2016-09-21 15:28:54serhiy.storchakacreate