`itemgetter` split into 2 objects

I suppose it is not a big deal to have itemtuplegetter and itemitersetter if this is ever desired.

itemtuplegetter it is then. :slight_smile:

1 Like

Opened an issue: Add operator.getitemtuple & operator.itemtuplegetter · Issue #128000 · python/cpython · GitHub

Some unexpected resistance.
If someone has good support points for this now would be a good time. :slight_smile:

FYI, the implementation is 70% complete by now.

I’m afraid I agree with the pushback on the issue.

The naming is confusing[1], the need for the feature seems limited, and there’s no indication that this is something performance critical.


  1. even now, after many rounds of discussion on the matter ↩︎

4 Likes