[Python-Dev] A sad state of doctests in the python manual
Barry Warsaw
barry at python.org
Thu Oct 28 23:18:49 CEST 2010
On Oct 28, 2010, at 04:57 PM, Alexander Belopolsky wrote:
>On Thu, Oct 28, 2010 at 4:52 PM, Alexander Belopolsky
><alexander.belopolsky at gmail.com> wrote:
>> On the second look, the problem may not be that bad ...
>
>Nope, the problem is even worse. It looks like Sphinx in py3k
>requires 2.x python:
>
>$ ../python.exe tools/sphinx-build.py -b doctest -d build/doctrees -D
>latex_paper_size= . build/doctest
>Traceback (most recent call last):
> File "tools/sphinx-build.py", line 27, in <module>
> from sphinx import main
> File "tools/sphinx/__init__.py", line 44
> except ImportError, err:
> ^
>SyntaxError: invalid syntax
It would be really cool if you fixed this! <wink>
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20101028/896e9a53/attachment.pgp>
More information about the Python-Dev
mailing list