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 pitrou
Recipients Danilo Shiga, JelleZijlstra, 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, JelleZijlstra, 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