[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2019-03-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks @Allen Li for the initial report, @lisroach for the PR, and @eric.araujo for the review. Issue 36418 has been opened to track @fdrake's request in msg338645. -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2019-03-24 Thread miss-islington
miss-islington added the comment: New changeset fc0010236341a32db7a3703f21e0bddbb36103dd by Miss Islington (bot) in branch '3.7': bpo-31822: Document that urllib.parse.{Defrag,Split,Parse}Result are namedtuples (GH-4434)

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2019-03-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +12479 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2019-03-24 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset 13c1f72cd1d91fdc2654f2f57356b2eacb75f164 by Cheryl Sabella (Lisa Roach) in branch 'master': bpo-31822: Document that urllib.parse.{Defrag,Split,Parse}Result are namedtuples (GH-4434)

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2019-03-23 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: To clarify: I'm not suggesting that an API expansion should be considered as part of this issue. -- ___ Python tracker ___

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2019-03-22 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Unfortunately, when the implementation was migrated to use collections.namedtuple (a benefit), the _replace method wasn't extended to support the additional computed addresses for these types. That would really be useful. -- nosy: +fdrake

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-11-16 Thread Lisa Roach
Change by Lisa Roach : -- keywords: +patch pull_requests: +4378 stage: needs patch -> patch review ___ Python tracker ___

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-23 Thread Éric Araujo
Éric Araujo added the comment: I suggest using :term:`named tuple` for the link (+ an example of using _replace as Mike said) -- ___ Python tracker

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: collections.namedtuples is not a class. -- nosy: +serhiy.storchaka ___ Python tracker

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-23 Thread Éric Araujo
Change by Éric Araujo : -- keywords: +easy nosy: +eric.araujo stage: -> needs patch versions: +Python 3.7 ___ Python tracker ___

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-22 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> lisroach nosy: +lisroach ___ Python tracker ___

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-19 Thread Mike Frysinger
Mike Frysinger added the comment: specifically, the docs for these classes: https://docs.python.org/2/library/urlparse.html#results-of-urlparse-and-urlsplit https://docs.python.org/3/library/urllib.parse.html#urlparse-result-object > The result objects from the

[issue31822] Document that urllib.parse.{Defrag, Split, Parse}Result are namedtuples

2017-10-19 Thread Allen Li
New submission from Allen Li : It would be useful to document that urllib.parse.{Defrag,Split,Parse}Result are namedtuples, and make that API officially public if it was not otherwise. These classes are implemented as namedtuples in Python 2 and 3, and I am not aware