

Inside the lambda expression you can have a comprehension to unpack the keys list to get the same sort of uplet as your “manual” example, like this:
>>> items = [{"core_name": "a", "label": "b"},{"core_name": "c", "label": "d"}, ]
>>> keys = ["core_name", "label"]
>>> tuple(items[0][k] for k in keys)
('a', 'b')
>>> sorted(items, key=lambda d: tuple(d[k] for k in keys))
[{'core_name': 'a', 'label': 'b'}, {'core_name': 'c', 'label': 'd'}]



I recently discovered
git commit --fixup=abcd1234: it will make a new commit with a message offixup! <message from abcd1234>. (It’s the only special thing that flag does: a specially formatted commit message, which you can craft yourself if you remember the spelling of thefixup!marker.)When you later rebase,
git rebase --interactive --autosquashwill automatically mark that commit to be a fixup ofabcd1234.magit for emacs has shortcut for creating a fixup commit selecting the previous commit, I’m sure other interfaces do too.
I’ve found that too, which I think is because as the project matures, you’re more likely to make fixes or contained features, as opposed to regular “change everything” as you explore the design in a young project.