Re: [Python-Dev] A sad state of doctests in the python manual

2010-10-28 Thread Alexander Belopolsky
On Thu, Oct 28, 2010 at 5:30 PM, Alexander Belopolsky wrote: > On Thu, Oct 28, 2010 at 5:18 PM, Barry Warsaw wrote: > .. >> >> It would be really cool if you fixed this! >> > Working on it.  Stay tuned. :-) > See http://bugs.python.org/issue10224 ___

Re: [Python-Dev] A sad state of doctests in the python manual

2010-10-28 Thread Alexander Belopolsky
On Thu, Oct 28, 2010 at 5:18 PM, Barry Warsaw wrote: .. > > It would be really cool if you fixed this! > Working on it. Stay tuned. :-) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: h

Re: [Python-Dev] A sad state of doctests in the python manual

2010-10-28 Thread Barry Warsaw
On Oct 28, 2010, at 04:57 PM, Alexander Belopolsky wrote: >On Thu, Oct 28, 2010 at 4:52 PM, Alexander Belopolsky > 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/sphi

Re: [Python-Dev] A sad state of doctests in the python manual

2010-10-28 Thread Alexander Belopolsky
On Thu, Oct 28, 2010 at 4:52 PM, Alexander Belopolsky 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= . bu

Re: [Python-Dev] A sad state of doctests in the python manual

2010-10-28 Thread Alexander Belopolsky
On the second look, the problem may not be that bad - "make doctest" picks up system python instead of the one from the source tree. I'll try to figure out how to rerun the doctests properly. On Thu, Oct 28, 2010 at 4:48 PM, Alexander Belopolsky wrote: > I have just discovered that sphinx suppor

[Python-Dev] A sad state of doctests in the python manual

2010-10-28 Thread Alexander Belopolsky
I have just discovered that sphinx supports running doctests embedded in ReST documentation. It looks like it is as simple as "cd Doc; make doctest". The result, however is not encouraging: $ make doctest ... Doctest summary === 1162 tests 262 failures in tests 0 failures in