[issue33101] Possible name inversion in heapq implementation

2018-03-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: There isn't universal agreement on whether it should be sift up or sift down. One point of view for sift down is that the datum is moving downward. The other point of view is that the datum is stationary which the rest of the heap moves downward (like si

[issue33101] Possible name inversion in heapq implementation

2018-03-19 Thread Yomguithereal
New submission from Yomguithereal : Hello Python team, I might be hallucinating but I am under the impression that the `heapq` module uses reverse naming. What I mean is that it seems to me that the _siftup method should actually be named _siftdown and, the other way around, _siftdown should