Message243969
| Author |
Jim.Jewett |
| Recipients |
Jim.Jewett |
| Date |
2015年05月24日.05:08:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1432444109.96.0.971324850141.issue24275@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|