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 rhettinger
Recipients LambertDW, pitrou, rhettinger, roysmith
Date 2008-12-17.23:53:32
SpamBayes Score 0.07249845
Marked as misclassified No
Message-id <1229558013.74.0.15000767127.issue4680@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, here's a trivial Queue subclass with instrumentation:

class HighWaterQueue(Queue):

    def _init(self, maxsize):
        Queue.__init__(self, maxsize)
        self.highwater = 0

    def _put(self, item):
        Queue._put(self, item)
        self.highwater = max(self.highwater, self._qsize())
History
Date User Action Args
2008-12-17 23:53:33rhettingersetrecipients: + rhettinger, roysmith, pitrou, LambertDW
2008-12-17 23:53:33rhettingersetmessageid: <1229558013.74.0.15000767127.issue4680@psf.upfronthosting.co.za>
2008-12-17 23:53:33rhettingerlinkissue4680 messages
2008-12-17 23:53:32rhettingercreate