Message25208
| 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:30 | admin | link | issue1193966 messages |
| 2007年08月23日 14:31:30 | admin | create |
|