[Python-Dev] collections module

Michael Hudson mwh at python.net
Tue Jan 13 06:08:43 EST 2004

Guido van Rossum <guido at python.org> writes:

>> A collections *package* is a fine idea.  I say "package" instead of
>> "module" because there are literally hundreds of container types,
>> and queues and bags are a tiny corner of that space.  An example
>> dear to my heart is BTrees (I maintain Zope's BTree implementation),
>> which is a wonderful way to get an associative mapping sorted by key
>> value.  BTrees have a large API all by themselves, so it wouldn't
>> make sense to try to squash them into a module along with 50 other
>> container types.
> Right.  +1 for a package.

I've added this idea to PEP 320 to try to stop it disappearing into
the murk...


  In short, just business as usual in the wacky world of floating
  point <wink>.                        -- Tim Peters, comp.lang.python

More information about the Python-Dev mailing list