On 16 September 2013 00:45, Serhiy Storchaka <storchaka at gmail.com> wrote: > 15.09.13 16:57, Antoine Pitrou написав(ла): > >> I don't really care. What's the point in the end? TransformDict is >> non-trivial to implement, while the so-called "TransformSet" is just a >> dict with a different API. > > > I don't see a difference. To me TransformDict is just a dict (or two). I think it's best to hold off a TransformSet, since you can trivially emulate it by setting the values in a TransformDict to None (that's how Python itself lived without a set type for so long: people just used dicts with all the values set to None). Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
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