Skip to content

Commit

Permalink
fix another possible race related to WeakValueDict
Browse files Browse the repository at this point in the history
  • Loading branch information
rlehfeld authored and comrumino committed Jun 24, 2024
1 parent c2365ff commit 827dd48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpyc/lib/colls.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def __getitem__(self, key):
obj = self._dict[key]()
if obj is None:
raise KeyError(key)
self[key] = obj
return obj

def __setitem__(self, key, value):
Expand Down

0 comments on commit 827dd48

Please sign in to comment.