[Python-ideas] Shuffled

Sven R. Kunze srkunze at mail.de
Tue Sep 6 15:09:47 EDT 2016


On 06.09.2016 20:46, Tim Peters wrote:
> [Sven R. Kunze <srkunze at mail.de>]
>> ...
>> He already convinced some people. Just not some venerable Python devs, which
>> doesn't necessarily mean something at all.
>>
>> Their response: "Oh, I don't need it, let's close it."
>> Arek: "But I need it."
>>
>> So, who's right now?
> By default, the venerable Python devs ;-)

Well, little bit arrogant? I hope technical arguments weigh more than 
status here. ;)

> [I don't need it in my source code which is under version control.]

It's okay. You don't need to reiterate that you don't need it.

I also don't need it when looking at my checked-in source code (but it 
seems there are people who do).

But I remember using it in interactive sessions (damn, why didn't I 
check that into git?). And there I remember finding it quite irritating 
not having a return value at all.

 >> random.shuffle([1,2,3,4])

Just gives me: nothing.
Of course, the period of irritation lasted short and reading __doc__ 
helped a lot, but, well, I could have saved me some time. You get the idea.


Cheers,
Sven


More information about the Python-ideas mailing list