Author pitrou
Recipients Danilo Shiga, Jelle Zijlstra, martin.panter, osantana, pitrou
Date 2017-05-24.21:30:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495661423.12.0.0708599167883.issue30441@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2017-05-24 21:30:23pitrousetrecipients: + pitrou, martin.panter, osantana, Jelle Zijlstra, Danilo Shiga
2017-05-24 21:30:23pitrousetmessageid: <1495661423.12.0.0708599167883.issue30441@psf.upfronthosting.co.za>
2017-05-24 21:30:23pitroulinkissue30441 messages
2017-05-24 21:30:23pitroucreate