Message294444
@osantana: you'd need to be using the lock at least in `__setitem__` and `__delitem__` as well, else there's nothing preventing modifications to the dictionary during the `list` call. It may make sense to protect *all* accesses (read or write) to `_data`, though you'd need to either use a re-entrant lock in that case or be very careful about not acquiring the lock twice. |
|
| Date |
User |
Action |
Args |
| 2017-05-25 07:32:25 | mark.dickinson | set | recipients:
+ mark.dickinson, pitrou, martin.panter, osantana, JelleZijlstra, Danilo Shiga |
| 2017-05-25 07:32:25 | mark.dickinson | set | messageid: <[email protected]> |
| 2017-05-25 07:32:25 | mark.dickinson | link | issue30441 messages |
| 2017-05-25 07:32:25 | mark.dickinson | create | |
|