Re: Missing collections

2009-12-27 Thread Lie Ryan
On 12/27/2009 4:53 PM, Bearophile wrote: - frozenDict perhaps we could extend namedtuple to become the "frozenDict" - persistentList, persistentDict aren't they database? Am I missing something here? Regarding the standard library of Python 3, it's easy enough to create for mistake a modu

Re: Missing collections

2009-12-27 Thread Arnaud Delobelle
On Dec 27, 5:53 am, Bearophile wrote: > What are the useful collections that are missing in the collections > module? > > Let's see: > - sortedDict, sortedSet (based on a search tree) There was a thread on these two on python-ideas: http://mail.python.org/pipermail/python-ideas/2009-July/005219.

Missing collections

2009-12-26 Thread Bearophile
What are the useful collections that are missing in the collections module? Let's see: - sortedDict, sortedSet (based on a search tree) - frozenDict - bitArray (or bitset) - graph - linkedList (*) (*) linkedList is like deque, it's a linked list of short arrays, but they aren't 100% full. Few mo

Re: missing collections module

2006-11-06 Thread skip
Shea> I am getting this error in a python script: Shea>File "/usr/sfw/lib/python2.3/site-packages/BTL/cache.py", line 12, in ? Shea> from collections import deque Shea> ImportError: No module named collections Shea> Where can I download the python collection module?

missing collections module

2006-11-06 Thread Shea Martin
I am getting this error in a python script: File "/usr/sfw/lib/python2.3/site-packages/BTL/cache.py", line 12, in ? from collections import deque ImportError: No module named collections Where can I download the python collection module? I am no python programmer, but I can build/instal