[Python-Dev] enum discussion: can someone please summarize open issues?
Antoine Pitrou
solipsis at pitrou.net
Mon Apr 29 08:54:16 CEST 2013
On Sun, 28 Apr 2013 17:29:35 -0700
Ethan Furman <ethan at stoneleaf.us> wrote:
>
> Not only is this inconsistent with the rest of Python*, but it's going to be a PITA for data storage/retrieval:
>
> datastore = dbf.Table('storage.dbf', 'event_name C(50); date D; season SEASON')
>
> def retrieve_record(...):
> result = []
> for field_type, field_data in record:
> result.append(field_type(field_data))
I've never seen any kind of "data retrieval" which works like that.
Would you care to explain us the context?
Regards
Antoine.
More information about the Python-Dev
mailing list