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.
Created on 2005年05月02日 18:31 by barry, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg25208 - (view) | Author: Barry A. Warsaw (barry) * (Python committer) | Date: 2005年05月02日 18:31 | |
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. |
|||
| msg25209 - (view) | Author: Fred Drake (fdrake) (Python committer) | Date: 2006年07月29日 20:05 | |
Logged In: YES user_id=3066 Fixed in revision 50952. The referenced section has been moved to the Extending & Embedding manual. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:11 | admin | set | github: 41938 |
| 2005年05月02日 18:31:37 | barry | create | |