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 osantana
Recipients Danilo Shiga, JelleZijlstra, mark.dickinson, martin.panter, osantana, pitrou, serhiy.storchaka
Date 2017-05-25.17:08:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
New version of patch:

1. Use RLock instead of Lock (Mark & Antoine recomendation)
2. Add lock acquire at `__setitem__` and `__delitem__` as following (Mark & Antoine recomendation)
3. Add lock protection in `__repr__` implementation.

I've some questions pending:

1. Is it a good idea to wrap self._data access with lock in __getitem__? (I suspect it's not)
2. Is it a good idea to lock protect self.copy() and self.setdefault() (I suspect it's not because both uses __iter__ that is already protected)
Date User Action Args
2017-05-25 17:08:24osantanasetrecipients: + osantana, mark.dickinson, pitrou, martin.panter, serhiy.storchaka, JelleZijlstra, Danilo Shiga
2017-05-25 17:08:24osantanasetmessageid: <>
2017-05-25 17:08:24osantanalinkissue30441 messages
2017-05-25 17:08:24osantanacreate