Revision 23669330b7d0d5ad1a9aac40315ba4c2e765f9dd authored by Victor Stinner on 09 September 2019, 22:31:20 UTC, committed by GitHub on 09 September 2019, 22:31:20 UTC
weakref.WeakValueDictionary defines a local remove() function used as
callback for weak references. This function was created with a
closure.  Modify the implementation to avoid the closure.

(cherry picked from commit a2af05a0d3f0da06b8d432f52efa3ecf29038532)
1 parent 12228ce
History
File Mode Size
_warnings.c.h -rw-r--r-- 1.3 KB
bltinmodule.c.h -rw-r--r-- 20.0 KB
context.c.h -rw-r--r-- 3.9 KB
import.c.h -rw-r--r-- 10.1 KB
marshal.c.h -rw-r--r-- 3.7 KB
sysmodule.c.h -rw-r--r-- 2.3 KB
traceback.c.h -rw-r--r-- 1.0 KB

back to top