This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gamaanderson
Recipients gamaanderson, wolma
Date 2015-04-13.16:52:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428943940.4.0.111828023624.issue23933@psf.upfronthosting.co.za>
In-reply-to
Content
@wolma, That would work in this simple example. But in a more complicated case this became inconvenient.

Actually I'm working with reading and writing in python an extremely C-oriented file-type (MDV). For that I represent C-structs as python dics (e.q {"array":[v1,v2,v3,v4]}), and because of this lack of arrays I'm forced to keep track if a key represents a single value or an array. It works, but I think everyone would benefit if struct could handle that simple task.
History
Date User Action Args
2015-04-13 16:52:20gamaandersonsetrecipients: + gamaanderson, wolma
2015-04-13 16:52:20gamaandersonsetmessageid: <1428943940.4.0.111828023624.issue23933@psf.upfronthosting.co.za>
2015-04-13 16:52:20gamaandersonlinkissue23933 messages
2015-04-13 16:52:20gamaandersoncreate