commit | 573395a7a8163c38630c5262ed3910c279e4a767 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Nov 01 20:26:12 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Nov 01 20:26:12 2001 +0000 |
tree | 48bacca27535af19f61c7d86fb7fa4009fae4a3e | |
parent | d2364e8e2dee675526fb35b07dab0e8f84268ec3 [diff] |
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!