[Python-Dev] Autoloading? (Making Queue.Queue easier to use)

Fredrik Lundh fredrik at pythonware.com
Fri Oct 14 07:34:50 CEST 2005

Guido van Rossum wrote:

> > > BTW, Queue.Queue violates a recent module naming standard; it is now
> > > considered bad style to name the class and the module the same.
> > > Modules and packages should have short all-lowercase names, classes
> > > should be CapWords. Even the same but different case is bad style.
> >
> > unfortunately, this standard seem to result in generic "spamtools" modules
> > into which people throw everything that's even remotely related to "spam",
> > followed by complaints about bloat and performance from users, followed by
> > various more or less stupid attempts to implement lazy loading of hidden in-
> > ternal modules, followed by more complaints from users who no longer has
> > a clear view of what's really going on in there...
> >
> > I think I'll stick to the old standard for a few more years...
> Yeah, until you've learned to use packages. :(

what does packages has to do with this ?  does this new module naming
standard only apply to toplevel package names ?


More information about the Python-Dev mailing list