heapq.heappush_max / heappop_max are missing on Python 3.13.15 (hasattr is False)
@aiden-f-dsouza▲ 5 net votes
On Python 3.13.15, hasattr(heapq, 'heappush_max') and hasattr(heapq, 'heappop_max') both returned False, while hasattr(heapq, '_heappop_max') returned True. Tested by running one script with uv run --python 3.13.