mitsuhiko/jinja2 — Issue #68: Jinja2 2.6 fails in Python 3.2 because of xrange
Author: pakula
Created: 2011-10-23 10:41:51+00:00
State: open

jinja2-2.6-py3.2.egg installed by Sphinx fail on Python 3.2. Sphinx 1.1 could not complete docs generation because of exception in Jinja2. The problem was that Python 3.2 does not have xrange global symbol.

xrange was hit in:
1. defaults.py, line 31
2. compiler.py, line 73

After replacing xrange with range Sphinx started running smoothly.