[issue13521] Make dict.setdefault() atomic
Filip Gruszczyński
report at bugs.python.org
Sun Jan 8 22:31:04 CET 2012
Filip Gruszczyński <gruszczy at gmail.com> added the comment:
I understand you are talking about this call:
mp->ma_lookup(mp, key, hash);
I haven't noticed that earlier. I'll try to provide a better fix (for 2.7 first, after we agree it's good enough, I will provide one for 3.3).
Do you have any idea, how I might this part? I mean how to check, that this is called only once?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13521>
_______________________________________
More information about the Python-bugs-list
mailing list