[issue1662] [patch] assert tp_traverse in PyType_GenericAlloc()

Bryan Silverthorn report at bugs.python.org
Tue Apr 28 03:24:36 CEST 2009


Bryan Silverthorn <bcs26 at cornell.edu> added the comment:

Well, there's no Python bug per se, hence no test case; this patch just
adds a single additional assert that might catch a particular extension
implementation mistake. It was prompted by tracking down the bug in
pygtk mentioned above.

I've attached an updated patch against r72055. It's a trivial change,
but I would suggest that someone more familiar with the Python core sign
off on it regardless.

----------
Added file: http://bugs.python.org/file13800/bcs_assert_tp_traverse_r72055.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1662>
_______________________________________


More information about the Python-bugs-list mailing list