[Python-3000] possible new packages (PEP 3108)
Mike Klaas
mike.klaas at gmail.com
Wed Jan 10 00:50:40 CET 2007
On 1/9/07, Brett Cannon <brett at python.org> wrote:
>
> * 'collections' package
>
> + heapq
> + Queue
Putting this in a collections package might exacerbate the confusion
over its intended use. It really is more of a threading
synchronization tool than a general queue datastructure (though it is
certainly possible to use in that fashion).
Perhaps the module can be renamed to conform to pep 8. threadqueue?
Or, move into the threading module?
> + sets
Does the sets module serve any purpose other than backward
compatibility? Why not remove those module for py3k?
Especially considering:
In [6]: isinstance(set(), sets.BaseSet)
Out[6]: False
regards,
-Mike
More information about the Python-3000
mailing list