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 <1495707053.58.0.786249847834.issue30441@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
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: <1495707053.58.0.786249847834.issue30441@psf.upfronthosting.co.za>
2017-05-25 10:10:53serhiy.storchakalinkissue30441 messages
2017-05-25 10:10:53serhiy.storchakacreate