logoalt Hacker News

varelazyesterday at 4:48 PM0 repliesview on HN

it's thread safe on operations on the dict but not on the values. Same relates to other immutable structures like tuples. Lock will not help here cause unsafety comes from operation on value after value is obtained.