
May 23, 2008
1:03 a.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