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

Guido van Rossum guido at python.org
Thu Oct 13 20:37:34 CEST 2005


On 10/13/05, Fredrik Lundh <fredrik at pythonware.com> wrote:
> 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. :(

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list