Charles-François Natali added the comment:
Berker, I've committed your patch, thanks!
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13223
___
Berker Peksag added the comment:
I guess the tests --without-doc-strings are broken:
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/6900/steps/test/logs/stdio
Attached patch fixes these failures.
--
nosy: +berker.peksag
versions: +Python 3.5 -Python 3.2,
Stefan Krah added the comment:
I guess the tests --without-doc-strings are broken:
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/6900/steps/test/logs/stdio
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
Skyler Leigh Amador added the comment:
The patch still applies cleanly, so I've just updated the comment. test passes,
make patchcheck passes.
--
nosy: +shiinee
Added file: http://bugs.python.org/file35525/pydoc-self.patch
___
Python tracker
Roundup Robot added the comment:
New changeset 7aa72075d440 by Benjamin Peterson in branch '3.4':
don't remove self from example code in the HTML output (closes #13223)
http://hg.python.org/cpython/rev/7aa72075d440
New changeset e89c39125892 by Benjamin Peterson in branch '2.7':
don't remove
Ezio Melotti added the comment:
Víctor, can you address my comment on rietveld?
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13223
___
Éric Araujo mer...@netwok.org added the comment:
Patch looks good to me. Ezio, do you have time to review too?
(I had forgotten that there were tests checking the exact HTML output. This
won’t be fun when we overhaul pydoc to make it generate sensible HTML.)
--
nosy: +eric.araujo
Changes by vterron quinta...@gmail.com:
Removed file: http://bugs.python.org/file23477/issue13223.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13223
___
vterron quinta...@gmail.com added the comment:
Patch updated with the test cases. I have added a third class to
Lib/test/pydoc_mod.py and updated two of the existing cases, test_text_doc and
test_html_doc, accordingly.
The news entry could be: Issue #13223: Fix pydoc.writedoc so that the HTML
Changes by vterron quinta...@gmail.com:
Added file: http://bugs.python.org/file23802/issue13223_python2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13223
___
New submission from Cameron Hayne cameron.ha...@gmail.com:
If the docstring for a method has example code that uses 'self',
the 'self' will not appear in the HTML generated by pydoc.writedoc
Example:
#-
def getAnswer(self):
Return the answer.
Example
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13223
___
Víctor Terrón quinta...@gmail.com added the comment:
FWIU, only the name of the method, getAnswer, would be a HTML link in the
self.getAnswer() line that pydoc should generate, while strong (highlighted)
text would be used for instance attributes.
I have written a patch for that, by checking
13 matches
Mail list logo