This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Danilo Shiga, JelleZijlstra, mark.dickinson, martin.panter, osantana, pitrou, serhiy.storchaka
Date 2017-05-25.10:10:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Isn't list(dict) atomic? At least in CPython.

I suspect that protecting *all* accesses to _data with a lock will hit the performance and invalidate the reason of using _data for caching.
Date User Action Args
2017-05-25 10:10:53serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, pitrou, martin.panter, osantana, JelleZijlstra, Danilo Shiga
2017-05-25 10:10:53serhiy.storchakasetmessageid: <>
2017-05-25 10:10:53serhiy.storchakalinkissue30441 messages
2017-05-25 10:10:53serhiy.storchakacreate