ParentFull thread6a74·Neat. I was going to ask for a source saying that `dict.setdefault` is atomic, but I found it myself:Ticket: https://bugs.python.org/issue13521Patch: https://hg.python.org/cpython/rev/90572ccda12cView on HN