Roundup Robot added the comment:
New changeset c3656dca65e7 by Senthil Kumaran in branch '2.7':
# 1722 - Add a note on urllib helper functions like splittype, splithost etc.
http://hg.python.org/cpython/rev/c3656dca65e7
--
nosy: +python-dev
___
Senthil Kumaran added the comment:
I had added a note in the documentation c3656dca65e7 conveying that splittype,
splithost should not be relied upon, and urlparse should be used for parsing.
Also, Python3 does not include these in __all__ - It is in Python2 for
backwards compatibility
Nathan Housel added the comment:
This has been fixed in trunk, the split* methods have documentation and appear
in the module docs.
See:
help('urllib')
--
nosy: +plasticgap
___
Python tracker rep...@bugs.python.org
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
assignee: georg.brandl - d...@python
nosy: +d...@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1722
___
Terry J. Reedy tjre...@udel.edu added the comment:
When internal functions lack '_', perhaps the doc should say xys,uie, and ooe
are intentionally undocumented internal functions. Otherwise, how is one
supposed to know?
--
nosy: +terry.reedy
versions: -Python 2.6
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1722
___
___
Python-bugs-list
Changes by Brian Curtin cur...@acm.org:
--
keywords: +easy
stage: - needs patch
type: - feature request
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1722
Senthil added the comment:
Georg Brandl added the comment:
There are quite a lot more functions in __all__, more than 10 split*
functions... should they all be documented?
Also, isn't urlparse meant to do such tasks?
I agree. I too feel that not everything in the __all__ list should be
Georg Brandl added the comment:
There are quite a lot more functions in __all__, more than 10 split*
functions... should they all be documented?
Also, isn't urlparse meant to do such tasks?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1722
Changes by Barry A. Warsaw:
--
components: Documentation
nosy: barry
priority: low
severity: normal
status: open
title: Undocumented urllib functions
versions: Python 2.5
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1722
New submission from Barry A. Warsaw:
urllib.splithost() and .splittype() are included in urllib's __all__ but
are not documented in urllib's module documentation. They are used
quite extensively in the module so they should be documented
__
Tracker [EMAIL
Changes by Guido van Rossum:
--
assignee: - georg.brandl
nosy: +georg.brandl
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1722
__
___
Python-bugs-list mailing list
12 matches
Mail list logo