[issue15108] Incomplete tuple created by PyTuple_New() and accessed via the GC can trigged a crash

Raymond Hettinger report at bugs.python.org
Sun Feb 21 22:33:01 EST 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Unless there is a simple, reliable, cheap, and universal solution at hand, consider closing this.  Given how long PyTuple_New() has exist, it doesn't seem to be much of a problem in the real world.

Historically, we punted on "crashers" involving either gc.get_referrers or byte code hacks.  Both of those reach inside Python's black box, allowing disruption of otherwise sensible invariants.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue15108>
_______________________________________


More information about the Python-bugs-list mailing list