[Python-Dev] PySequence_Concat for dicts (original) (raw)

Raymond Hettinger python at rcn.com
Sat Jan 12 05:25:45 CET 2008


I'd like to take an "all or nothing" approach to this: either we implement the same 4 operations as for sets (|, &, ^ and -) or we implement none of them. . . . . I'm not sure where I stand on this proposal -- I guess a +0, if someone else does the work. (The abc.py module needs to be updated too.)

I think this would end-up being clutter, something added just because it could be done, not because we have compelling use cases that can't be met with existing dicts, sets, and lists.

Raymond



More information about the Python-Dev mailing list