Issue 21746: urlparse.BaseResult no longer exists (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/65945

classification

Title: urlparse.BaseResult no longer exists
Type: behavior Stage: resolved
Components: Documentation Versions: Python 2.7

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: berker.peksag, docs@python, mgilson, mjpieters, orsenthil, python-dev
Priority: normal Keywords: patch

Created on 2014-06-13 09:09 by mgilson, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python_doc_patch.patch mgilson,2014-06-13 09:09 review
python_doc_patch.patch mgilson,2014-06-13 09:16 review
Messages (6)
msg220425 - (view) Author: Matthew Gilson (mgilson) * Date: 2014-06-13 09:09
The BaseResult has been replaced by namedtuple. This also opens up all of the documented methods on namedtuple which would be nice to have as part of the API. I've taken a stab and re-writing the docs here. Feel free to use it (or not)...
msg220426 - (view) Author: Matthew Gilson (mgilson) * Date: 2014-06-13 09:16
Sorry, forgot to remove the mention of BaseResult ...
msg220427 - (view) Author: Martijn Pieters (mjpieters) * Date: 2014-06-13 09:19
Note that the Python 3 docs also need updating, but need a more extensive patch: https://docs.python.org/3/library/urllib.parse.html#structured-parse-results
msg220428 - (view) Author: Matthew Gilson (mgilson) * Date: 2014-06-13 09:21
This originally came up on stackoverflow: http://stackoverflow.com/questions/24200988/modify-url-components-in-python-2/24201020?noredirect=1#24201020 Would it be helpful if I also added a simple example to the docs as in the example there?
msg264563 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-04-30 15:36
New changeset 6d49a7330c99 by Berker Peksag in branch '2.7': Issue #21746: Remove BaseResult reference from urlparse documentation https://hg.python.org/cpython/rev/6d49a7330c99
msg264564 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-04-30 15:37
Thanks for the patch, Matthew. Python 3 documentation has already been updated.
History
Date User Action Args
2022-04-11 14:58:04 admin set github: 65945
2016-04-30 15:37:55 berker.peksag set status: open -> closedtype: behaviormessages: + resolution: fixedstage: resolved
2016-04-30 15:36:40 python-dev set nosy: + python-devmessages: +
2014-06-26 18:52:58 berker.peksag set nosy: + orsenthil, berker.peksag
2014-06-13 09:21:45 mgilson set messages: +
2014-06-13 09:19:36 mjpieters set nosy: + mjpietersmessages: +
2014-06-13 09:16:14 mgilson set files: + python_doc_patch.patchmessages: +
2014-06-13 09:13:33 mgilson set assignee: docs@pythonnosy: + docs@pythoncomponents: + Documentationversions: + Python 2.7
2014-06-13 09:09:52 mgilson create