[issue45259] No _heappush_max()

2021-09-21 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

The underscore functions are private and for internal use.  There is no 
_heappush_max() because we didn't need it internally and it would just be dead 
code.

Thanks for the report.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45259] No _heappush_max()

2021-09-21 Thread Thomas


Change by Thomas :


--
versions: +Python 3.10, Python 3.11, Python 3.6, Python 3.7, Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45259] No _heappush_max()

2021-09-21 Thread Thomas


Change by Thomas :


--
nosy: +rhettinger, stutzbach -ThomasLee94

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45259] No _heappush_max()

2021-09-21 Thread Thomas


New submission from Thomas :

There is no heappush function for a max heap when the other supporting helper 
functions are already implemented (_siftdown_max())

--
components: Library (Lib)
messages: 402351
nosy: ThomasLee94
priority: normal
severity: normal
status: open
title: No _heappush_max()
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com