The peak.util.extremes module provides a production-quality implementation of the Min and Max objects from PEP 326.