Bugs item #1193966, was opened at 2005-05-02 14:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1193966&group_id=5470

Category: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Weakref types documentation bugs

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1193966&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to