debugger in docs

John Hunter <jdh2358@...149...> writes:

I was just trying to build the docs in svn HEAD< and got an exception
that through me into the debugger. This is something I haven't seen
before -- does anyone know where the debugger is being turned on

In, sphinx-build is called with -P:

    if os.system('sphinx-build %s -P -b html -d build/doctrees . build/html' % options):
        raise SystemExit("Building HTML failed.")

And that means:

         -P -- run Pdb on exception


Jouni K. Sepp�nen