I tried to apply some changes to weakref.py according to
unfortunately i am ending with followig traceback error:
Traceback (most recent call last):
File "/usr/lib/python3.5/functools.py", line 23, in <module>
from weakref import WeakKeyDictionary
File "/usr/lib/python3.5/weakref.py", line 90, in <module>
class WeakValueDictionary(collections.MutableMapping):
File "/usr/lib/python3.5/weakref.py", line 109, in WeakValueDictionary
def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):
NameError: name 'self' is not defined
Could someone be so kind to copy line 105 to 120 of weakref.py to this thread.
Thanks in advance and
regards Holgah
OMV 4.0.6