Mercurial > genshi > mirror
changeset 878:c8cac1b264e4 trunk
Apply patch from #324 for Python 2.6.2 compatibility fix.
author | cmlenz |
---|---|
date | Thu, 15 Apr 2010 21:10:36 +0000 |
parents | 1d23ed624ab2 |
children | fe5b8e29fda8 |
files | genshi/template/eval.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/genshi/template/eval.py +++ b/genshi/template/eval.py @@ -277,6 +277,10 @@ raise UndefinedError(self._name, self._owner) __call__ = __getattr__ = __getitem__ = _die + # Hack around some behavior introduced in Python 2.6.2 + # http://genshi.edgewall.org/ticket/324 + __length_hint__ = None + class LookupBase(object): """Abstract base class for variable lookup implementations."""