A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-October/129245.html below:

[Python-Dev] PEP 455: TransformDict

[Python-Dev] PEP 455: TransformDict [Python-Dev] PEP 455: TransformDictAntoine Pitrou solipsis at pitrou.net
Tue Oct 8 17:05:17 CEST 2013
Le Tue, 8 Oct 2013 22:49:28 +1000,
Nick Coghlan <ncoghlan at gmail.com> a écrit :
> > Well, you could ask the same question about OrderedDict,
> > defaultdict or Weak*Dictionary since neither of them use
> > composition :-)
> 
> We *did* ask the same question about those (except the Weak* variants,
> simply due to age).
> 
> Each time, the point that each new dict variant would be used to
> justify yet *more* variants was a cause for concern.

Could you explain? I don't understand.

> "Composition doesn't work with some mappings" isn't an adequate
> answer to the criticism that a composition based design could work
> with more mappings than just the builtin dict.

Fair enough.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4