[Python-Dev] PEP: Adding data-type objects to Python

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Oct 29 02:15:40 CEST 2006


Nick Coghlan wrote:

> Greg Ewing wrote:

>> Also, what if I want to refer to fields by name
>> but don't want to have to work out all the offsets

> Use the list definition form. With the changes I've 
> suggested above, you wouldn't even have to name the fields you don't 
> care about - just describe them.

That would be okay.

I still don't see a strong justification for having a
one-big-string form as well as a list/tuple/dict form,
though.

--
Greg



More information about the Python-Dev mailing list