This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kmike
Recipients kmike
Date 2016-07-07.23:42:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467934956.52.0.328129985005.issue27464@psf.upfronthosting.co.za>
In-reply-to
Content
Docs currently say that urllib.parse.SplitResult is a subclass of tuple, without saying that it is namedtuple. What do you think about documenting it as a namedtuple? It has an useful _replace method which allows to change some part of URL before passing it to urlunsplit.

It may also require updating typeshed - I noticed this issue because mypy shows an error when SplitResult._replace is used.
History
Date User Action Args
2016-07-07 23:42:36kmikesetrecipients: + kmike
2016-07-07 23:42:36kmikesetmessageid: <1467934956.52.0.328129985005.issue27464@psf.upfronthosting.co.za>
2016-07-07 23:42:36kmikelinkissue27464 messages
2016-07-07 23:42:36kmikecreate