Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Operations with the linked list are atomic (guarded with the GIL), while operations with the cache dict are not. That is why links are removed first from the linked list and added back in case of error. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35780> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com