Éric Araujo mer...@netwok.org added the comment:
Hello
Is it ok that the code checks “object.__name__ not in ('xml.etree')”? Looks
like a failed single-item tuple to me. Besides, what about using a simple “!=”?
Regards
--
nosy: +merwok
___
Python
Brian Curtin cur...@acm.org added the comment:
Good catch. That was intended to be a single tuple because the other check
above is a tuple, but because this really only checks one thing it could be a
!= until its necessary to be a tuple. I'll fix it.
--
Brian Curtin cur...@acm.org added the comment:
Made the change in r79529 through 79532.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8225
___
Brian Curtin cur...@acm.org added the comment:
Fixed in trunk (r79518), release26-maint (r79519), py3k (r79520), and
release31-maint (r79521).
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: +Python 2.7, Python 3.1, Python 3.2
New submission from Mangus Wahberg end...@gmail.com:
When using the interactive python help and entering xml.etree the help page
contains a link faulty link to the online documentation.
The link in the help page is:
MODULE DOCS
http://docs.python.org/library/xml.etree
But the correct
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8225
___
Brian Curtin cur...@acm.org added the comment:
I believe the problem is with pydoc. In the case of xml.etree, I don't think it
should be displaying anything for MODULE DOCS.
help(xml.etree.ElementTree) does display the proper link.
The attached patch and test fixes the problem.
--
Changes by Brian Curtin cur...@acm.org:
--
type: performance - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8225
___
___