Skip to content

Add _heapq max functions - #2138

Merged
slozier merged 1 commit into
IronLanguages:mainfrom
slozier:heapq
Nov 4, 2026
Merged

slozier merged 1 commit into
IronLanguages:mainfrom
slozier:heapq

Conversation

@slozier

@slozier slozier commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Add _heapify_max, _heappop_max and _heapreplace_max functions (new in 3.5) to _heapq. Also raise IndexError from heapreplace on an empty heap.

@slozier
slozier merged commit fa7c6dc into IronLanguages:main Nov 4, 2026
35 checks passed
@slozier
slozier deleted the heapq branch November 4, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant