Inappropriate coding practices In python2.7

Description

A use-after-free exists in Python through 3.9 via heappushpop in heapq.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Package
Affected version
Patched versions