Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

What is the use case for this?

This doesn't seem to be a typical heap operation.  
https://en.wikipedia.org/wiki/Heap_(data_structure)#Operations

Have you seen the in other heap APIs?

----------
components: +Library (Lib) -Extension Modules
title: Lack function to track index of an element in heapq -> Add function to 
exploit heapq structure to locate an index of element
versions:  -Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42301>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to