Antoine Pitrou <pit...@free.fr> added the comment: If `PyObject_SetAttrString(raw, "_name", text)` fails, a reference to raw is leaked. Other than that, the patch looks good.
_______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4705> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com