weakref: Dummy, not weakref implementation at all (proxy() method so far).

pull/26/head
Paul Sokolovsky 2015-05-09 00:20:15 +03:00
rodzic d629aa2db7
commit 450b8b63ec
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,7 @@
#
# This is completely dummy implementation, which does not
# provide real weak references, and thus will hoard memory!
#
def proxy(obj, cb=None):
return obj