Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.
merge
Issue #21481:  Teach argparse equality tests to return NotImplemented when comparing to unknown types.
merge
Minor clean-ups for heapq.