[Python-ideas] Module name [was Re: Pre-PEP: adding a statistics module to Python]
Antoine Pitrou
solipsis at pitrou.net
Tue Aug 6 16:23:18 CEST 2013
Le Tue, 06 Aug 2013 16:19:18 +0200,
"M.-A. Lemburg" <mal at egenix.com> a écrit :
> On 06.08.2013 15:55, Antoine Pitrou wrote:
> > Le Tue, 06 Aug 2013 15:46:00 +0200,
> > "M.-A. Lemburg" <mal at egenix.com> a écrit :
> >>
> >> Python has grown a lot since the days most of the stdlib
> >> modules/packages were added, so we have to pay more attention
> >> to name clashes.
> >
> > Of course we can pay attention to name clashes. This is done through
> > checking at PyPI, though, not by speculating that someone may think
> > "finance" when they encounter the word "futures".
>
> True.
>
> Apart from avoiding name clashes, I think adding a bit of extra
> context by means of placing the module into package also helps people
> trying to determine the meaning of the module.
Well, "statistics" sounds clear enough to me :-)
(like "logging" or "unittest")
Regards
Antoine.
More information about the Python-ideas
mailing list