pre-PEP generic objects
Steven Bethard
steven.bethard at gmail.com
Fri Dec 3 17:59:35 EST 2004
Istvan Albert wrote:
> On the other hand, it would be nice to have a module that
> implements various design patterns. The Bunch, the Borg, the Null,
> the Proxy all nicely documented tucked away in their separate
> module. That would feel a lot less like littering the standard name space
> with an class that just "seems" to be useful.
From the (pre-)PEP:
"This PEP proposes a standard library addition..."
Bunch would go into the standard library (probably the collections
module) not to the __builtins__. I don't see how this "litters the
standard namespace".
Steve
More information about the Python-list
mailing list