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 rhettinger
Recipients docs@python, rhettinger, vstinner
Date 2018-11-19.19:14:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542654873.03.0.788709270274.issue35276@psf.upfronthosting.co.za>
In-reply-to
Content
The general rule in Python is that nothing can be considered atomic unless specifically documented as atomic (such as the queue module or lru_cache which have internal locks).  The only safe action is to put locks around all accesses to shared resources.  We should have a FAQ entry to that effect.  It should also note that "thread-safe" means different things to different people.
History
Date User Action Args
2018-11-19 19:14:33rhettingersetrecipients: + rhettinger, vstinner, docs@python
2018-11-19 19:14:33rhettingersetmessageid: <1542654873.03.0.788709270274.issue35276@psf.upfronthosting.co.za>
2018-11-19 19:14:33rhettingerlinkissue35276 messages
2018-11-19 19:14:32rhettingercreate