Message197400
| Author |
pitrou |
| Recipients |
barry, eli.bendersky, eric.smith, ethan.furman, mrabarnett, pitrou, r.david.murray, rhettinger, theller, tim.peters, vstinner |
| Date |
2013年09月09日.20:44:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1378759496.2502.14.camel@fsol> |
| In-reply-to |
<1378759279.34.0.459892033294.issue18986@psf.upfronthosting.co.za> |
| Content |
> I also note that defaultdict is implemented via a special method on
> dict itself (__missing__), and if this one was implemented the same
> way it would be easy to combine the features.
It's not that simple: to remember the original casing you need either a
second container, or to use (original_key, value) tuples as values. Both
approaches have non-trivial repercussions on the implementation of many
methods. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年09月09日 20:44:59 | pitrou | set | recipients:
+ pitrou, tim.peters, barry, theller, rhettinger, vstinner, eric.smith, mrabarnett, r.david.murray, eli.bendersky, ethan.furman |
| 2013年09月09日 20:44:59 | pitrou | link | issue18986 messages |
| 2013年09月09日 20:44:58 | pitrou | create |
|