Mercurial > genshi > genshi-test
changeset 878:abfabaea906f
Apply patch from #324 for Python 2.6.2 compatibility fix.
author | cmlenz |
---|---|
date | Thu, 15 Apr 2010 21:10:36 +0000 |
parents | 8747234921b6 |
children | 27d210790d27 |
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."""