[Python-ideas] Pre-PEP: adding a statistics module to Python

Ryan rymg19 at gmail.com
Wed Aug 7 20:27:29 CEST 2013


Scratch that. I just realized that this isn't Pascal, meaning types can be checked. The option is still a thought, however. Beats a documentation warning that most people(including me) would probably ignore out of lack of patience(again like me).

Michael Walter <michael.walter at gmail.com> wrote:

>So that the default can be "true" ;)
>
>
>On Wed, Aug 7, 2013 at 6:48 PM, MRAB <python at mrabarnett.plus.com>
>wrote:
>
>> On 07/08/2013 17:28, Ryan wrote:
>>
>>> What if it was an option. i.e.
>>>
>>> statistics.sum(myiter, listconv=True)
>>>
>>>  [snip]
>> Why have an option? You can just do this:
>>
>> statistics.sum(list(myiter))
>>
>> ______________________________**_________________
>>
>> Python-ideas mailing list
>> Python-ideas at python.org
>>
>http://mail.python.org/**mailman/listinfo/python-ideas<http://mail.python.org/mailman/listinfo/python-ideas>
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Python-ideas mailing list
>Python-ideas at python.org
>http://mail.python.org/mailman/listinfo/python-ideas

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130807/81fe6210/attachment.html>


More information about the Python-ideas mailing list