Message294398
The environ class could have its own lock and then the __iter__ method could be rewritten as follows:
def __iter__(self):
with self._lock:
keys = list(self._data)
for key in keys:
yield self.decodekey(key) |
|
Date |
User |
Action |
Args |
2017-05-24 21:30:23 | pitrou | set | recipients:
+ pitrou, martin.panter, osantana, JelleZijlstra, Danilo Shiga |
2017-05-24 21:30:23 | pitrou | set | messageid: <1495661423.12.0.0708599167883.issue30441@psf.upfronthosting.co.za> |
2017-05-24 21:30:23 | pitrou | link | issue30441 messages |
2017-05-24 21:30:23 | pitrou | create | |
|