Antoine Pitrou <pit...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8578> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com