Strange range

Ethan Furman ethan at stoneleaf.us
Sun Apr 3 12:28:19 EDT 2016


On 04/02/2016 11:58 PM, Marko Rauhamaa wrote:
> Stephen Hansen <me+python at ixokai.io>:
>
>> On Sat, Apr 2, 2016, at 02:40 PM, Marko Rauhamaa wrote:
>>> That's why I was looking for counterexamples in the standard library
>>
>> This entire bent of an argument seems flawed to me.
>>
>> The standard library has never been a beacon for best practices or
>> idiomatic uses of Python.
>
> It's an obvious corpus of Python code not written by me that's readily
> available on my computer. An argument was made that range() has varied
> uses. I was trying to find those varied uses.

Which is fine, but failing to find them is insignificant.


>> Most code exists outside the stdlib.
>
> Which should then make it easy for you to point out the kinds of
> counterexamples I was looking for.

I'm pretty sure that 99+% of the non-stdlib code out there is also 
completely inaccessible (or at least inconveniently accessible) to 
Stephen as well.

Besides which, the amount of extra effort someone else is willing to go 
to to prove something is directly related to the interestingness of the 
topic -- and the various uses of range() isn't that interesting (it 
would be more interesting if a PEP was on the line...) .

--
~Ethan~




More information about the Python-list mailing list