This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients
Date 2005-05-02.18:31:37
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This page (section 3.3.3 of the library reference manual):

http://www.python.org/doc/current/lib/weakref-extension.html#weakref-extension

contains a description of what you need to do to make
your extension types weakrefable.  There are a few
problems with this page.

First, it really belongs in the C API and/or extending
and embedding documentation, not in the library
reference manual.

Second, the page describes having to set
Py_TPFLAGS_HAVE_WEAKREFS in tp_flags, but that's
unnecessary because Py_TPFLAGS_HAVE_WEAKREFS is already
in Py_TPFLAGS_DEFAULT.
History
Date User Action Args
2007-08-23 14:31:30adminlinkissue1193966 messages
2007-08-23 14:31:30admincreate