[pypy-svn] r74285 - pypy/trunk/pypy/module/cpyext

afa at codespeak.net afa at codespeak.net
Fri Apr 30 15:44:28 CEST 2010

Author: afa
Date: Fri Apr 30 15:44:26 2010
New Revision: 74285

A problem with PyWeakref_GetObject

Modified: pypy/trunk/pypy/module/cpyext/TODO
--- pypy/trunk/pypy/module/cpyext/TODO	(original)
+++ pypy/trunk/pypy/module/cpyext/TODO	Fri Apr 30 15:44:26 2010
@@ -23,6 +23,9 @@
  - refactor management of py_objects_r2w and py_objects_w2r, this can
    probably be expressed in terms of _PyObject_GC_TRACK macros.
+ - PyWeakref_GetObject() returns a borrowed reference, but this turns the
+   WeakRef into a strong reference!
  - sort out pypy's buffer protocol. PyPy's buffer right now don't support
    raw memory (except array which supports it in a hackish way), which
    should be fixed in order to make it nicely work with cpyext.

More information about the Pypy-commit mailing list