]> granicus.if.org Git - python/commit
PyFunction_Call() did not check the result of PyObject_Repr() for NULL, and
authorFred Drake <fdrake@acm.org>
Thu, 1 Nov 2001 20:26:12 +0000 (20:26 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 1 Nov 2001 20:26:12 +0000 (20:26 +0000)
commit573395a7a8163c38630c5262ed3910c279e4a767
tree48bacca27535af19f61c7d86fb7fa4009fae4a3e
parentd2364e8e2dee675526fb35b07dab0e8f84268ec3
PyFunction_Call() did not check the result of PyObject_Repr() for NULL, and
should just avoid calling it in the first place to avoid waiting for a repr
of a large object like a dict or list.  The result of PyObject_Repr() was
being leaked as well.
Bugfix candidate!
Objects/abstract.c