[Python-ideas] Module name [was Re: Pre-PEP: adding a statistics module to Python]

Joshua Landau joshua at landau.ws
Tue Aug 6 07:31:17 CEST 2013


On 6 August 2013 06:22, Michele Lacchia <michelelacchia at gmail.com> wrote:
>
> Il giorno 06/ago/2013 02:12, "Alexander Belopolsky" <alexander.belopolsky at gmail.com> ha scritto:
>>
>> On Mon, Aug 5, 2013 at 8:01 PM, MRAB <python at mrabarnett.plus.com> wrote:
>>>
>>> Well, "statistics" is no longer than "subprocess" anyway.
>>
>> Right, but subprocess was never intended for use in the "calculator mode."
>
> What about the fraction module? It could be in math but it isn't. It could also be frac or fracs, but it is not. For consistency the module name IMHO should be statistics.

To be fair that's a false analogy as math is module for mathematical
functions (of which statistics is a subset) and fractions contains
numeric types.

Additionally, whether things are inside other modules hasn't been very
constant over time -- there are several cases where modules were
combined and spliced although mostly in the Python 2 to 3 border.


More information about the Python-ideas mailing list