diff --git a/Changelog b/Changelog index 29079023..a29e4b11 100644 --- a/Changelog +++ b/Changelog @@ -8,8 +8,9 @@ ===== :release-date: 2011-04-05 15:51 P.M CEST -* 1.1.0 broke Python 2.4 and 2.5 compatibility by using - LifoQueue. +* 1.1.0 started using ``Queue.LifoQueue`` which is only available + in Python 2.6+ (Issue #33). We now ship with our own LifoQueue. + .. _version-1.1.0: diff --git a/kombu/utils/compat.py b/kombu/utils/compat.py index e9251b15..f685dc51 100644 --- a/kombu/utils/compat.py +++ b/kombu/utils/compat.py @@ -253,6 +253,7 @@ class LifoQueue(Queue): def _init(self, maxsize): self.queue = [] + self.maxsize = maxsize def _qsize(self, len=len): return len(self.queue)