Add support for weak references to code objects. This will be used by an optimization...
authorcollin.winter <collin.winter@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 18 Mar 2010 21:54:01 +0000 (21:54 +0000)
committercollin.winter <collin.winter@6015fed2-1504-0410-9fe1-9d1591cc4771>
Thu, 18 Mar 2010 21:54:01 +0000 (21:54 +0000)
commit090f8fe57fac228fa9ed2864f578bc962334909d
treeaa2b6902250a794fb713705df55d2365e0016c9a
parent2f67245216e7102bd63799a1f7881e0a2af4c1b7
Add support for weak references to code objects. This will be used by an optimization in the incoming Python 3 JIT.

Patch by Reid Kleckner!

git-svn-id: http://svn.python.org/projects/python/trunk@79060 6015fed2-1504-0410-9fe1-9d1591cc4771
Doc/library/weakref.rst
Include/code.h
Lib/test/test_code.py
Lib/test/test_sys.py
Misc/NEWS
Objects/codeobject.c