Message243969
The specialized lookdict_* variants replace themselves with the generic lookdict as soon as a non-unicode key is looked up.
They could reasonably leave the replacement to insertdict (line 819, currently assert rather than a replacement), when a non-unicode key is actually inserted into the dict.
While inserts are less common than (all lookups including insert), I see the main advantage as reducing the number of duplications of the replacement logic. |
|
Date |
User |
Action |
Args |
2015-05-24 05:08:30 | Jim.Jewett | set | recipients:
+ Jim.Jewett |
2015-05-24 05:08:29 | Jim.Jewett | set | messageid: <1432444109.96.0.971324850141.issue24275@psf.upfronthosting.co.za> |
2015-05-24 05:08:29 | Jim.Jewett | link | issue24275 messages |
2015-05-24 05:08:29 | Jim.Jewett | create | |
|