[issue14372] Fix all invalid usage of borrowed references

2013-01-02 Thread STINNER Victor
STINNER Victor added the comment: Nobody looks motivated to work on such complex and long issue, so I close the issue. It's maybe simpler to open an issue per invalid usage of borrowed reference (as it was done for #14211 and #14231). -- resolution: -> wont fix status: open -> closed

[issue14372] Fix all invalid usage of borrowed references

2012-03-20 Thread STINNER Victor
STINNER Victor added the comment: > (1) find any internal or external C function that returns a borrowed reference Doc/data/refcounts.dat can be used for that: PyCell_GET PyDict_GetItem PyDict_GetItemString PyErr_Occurred PyEval_GetBuiltins PyEval_GetLocals PyEval_GetGlobals PyEval_GetFrame Py

[issue14372] Fix all invalid usage of borrowed references

2012-03-20 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +arigo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14372] Fix all invalid usage of borrowed references

2012-03-20 Thread STINNER Victor
New submission from STINNER Victor : I fixed the issues #14211 and #14231. These issues were invalid usage of borrowed reference: the reference can be destroyed before the reference is used. Armin Rigo replied: "I will attempt a last time to mention that the docstrings in borrowed_ref_*.py us