[Python-ideas] possible attribute-oriented class

Nick Coghlan ncoghlan at gmail.com
Fri Sep 4 16:59:32 CEST 2009


Jan Kaliszewski wrote:
> What do you think about it?

It reminds me a bit of the old (short-lived) namespaces module:

http://web.archive.org/web/20060216094030/http://namespace.python-hosting.com/

Steven's draft PEP on the topic is still available in the python-list
archives:

http://mail.python.org/pipermail/python-list/2005-February/307235.html

The problem we found with it was that the basic solutions (empty class
and now named_tuple) were good enough that it wasn't worth the hassle
involved in grabbing an extra library for it.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------



More information about the Python-ideas mailing list