May 22, 2008
11:03 p.m.
Brandon Mintern wrote:
This is a proposal to add a new built-in named struct:
struct(**kwargs) Return a struct object which has the attributes given in kwargs.
I think I'd prefer 'record', to avoid any potential confusion with the struct module, which does something quite different. Also, my Pascal background makes the term 'record' seem more high-level and therefore Pythonic to me. -- Greg