report at bugs.python.org
Fri Apr 30 16:13:30 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> This should be fixed; I suggest deprecating PyWeakref_GetObject() and
> adding another C API function that does not return a borrowed reference.
Another possibility is to document the fact that Py_INCREF() should be called in most cases. It would be much lighter than a new API + deprecation process.
In the meantime, the sqlite issue should be fixed of course.
components: +Library (Lib)
nosy: +ghaering, haypo, loewis, pitrou
priority: normal -> high
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list