I've observed a transient issue when building Django's docs (traceback below). It only seems to happen on Python 3. Reproduced with Sphinx 1.3.1 and 1.2.3. I am not sure if the issue is with sphinx itself or with something else. Any debugging advice would be appreciated.
# Sphinx version: 1.3.1
# Python version: 3.4.0 (CPython)
# Docutils version: 0.12 release
# Jinja2 version: 2.7.3
# Last messages:
# reading sources... [ 48%] ref/models/index
# reading sources... [ 49%] ref/models/instances
# reading sources... [ 49%] ref/models/lookups
# reading sources... [ 49%] ref/models/meta
# reading sources... [ 50%] ref/models/options
# reading sources... [ 50%] ref/models/querysets
# reading sources... [ 50%] ref/models/relations
# reading sources... [ 50%] ref/request-response
# reading sources... [ 51%] ref/schema-editor
# reading sources... [ 51%] ref/settings
# Loaded extensions:
# alabaster (0.7.3) from /home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/alabaster/__init__.py
# djangodocs (unknown version) from /home/tim/code/djangoproject/
djangoproject.com/djangodocs/1.8/docs/_ext/djangodocs.py# sphinx.ext.intersphinx (1.3.1) from /home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/ext/intersphinx.py
# ticket_role (unknown version) from /home/tim/code/djangoproject/
djangoproject.com/djangodocs/1.8/docs/_ext/ticket_role.py# sphinx.ext.viewcode (1.3.1) from /home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/ext/viewcode.py
Traceback (most recent call last):
File "/home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/cmdline.py", line 245, in main
app.build(opts.force_all, filenames)
File "/home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/application.py", line 264, in build
self.builder.build_update()
File "/home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 245, in build_update
'out of date' % len(to_build))
File "/home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/builders/__init__.py", line 259, in build
self.doctreedir,
self.app))
File "/home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/environment.py", line 618, in update
self._read_serial(docnames, app)
File "/home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/environment.py", line 638, in _read_serial
self.read_doc(docname, app)
File "/home/tim/.virtualenvs/djangoproject-1.7/lib/python3.4/site-packages/sphinx/environment.py", line 863, in read_doc
pickle.dump(doctree, f, pickle.HIGHEST_PROTOCOL)
RuntimeError: maximum recursion depth exceeded while calling a Python object