Message174534
This could be avoided by
lives_in_init = (('lion': ['Africa', 'America']), ('lion': ['Europe']))
lives_in = {}
for k, v in lives_in_init:
assert k not in lives_in
lives_in[k] = v
del lives_in_init
Which is fast enough if executed only during module-loading |
|
Date |
User |
Action |
Args |
2012-11-02 15:27:28 | ebfe | set | recipients:
+ ebfe, r.david.murray, Ramchandra Apte, Albert.Ferras |
2012-11-02 15:27:27 | ebfe | set | messageid: <1351870047.91.0.281781814974.issue16385@psf.upfronthosting.co.za> |
2012-11-02 15:27:27 | ebfe | link | issue16385 messages |
2012-11-02 15:27:27 | ebfe | create | |
|