Message240658
@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. |
|
Date |
User |
Action |
Args |
2015-04-13 16:52:20 | gamaanderson | set | recipients:
+ gamaanderson, wolma |
2015-04-13 16:52:20 | gamaanderson | set | messageid: <1428943940.4.0.111828023624.issue23933@psf.upfronthosting.co.za> |
2015-04-13 16:52:20 | gamaanderson | link | issue23933 messages |
2015-04-13 16:52:20 | gamaanderson | create | |
|