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 ebfe
Recipients Albert.Ferras, Ramchandra Apte, ebfe, r.david.murray
Date 2012-11-02.15:27:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351870047.91.0.281781814974.issue16385@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-11-02 15:27:28ebfesetrecipients: + ebfe, r.david.murray, Ramchandra Apte, Albert.Ferras
2012-11-02 15:27:27ebfesetmessageid: <1351870047.91.0.281781814974.issue16385@psf.upfronthosting.co.za>
2012-11-02 15:27:27ebfelinkissue16385 messages
2012-11-02 15:27:27ebfecreate