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 martin.panter
Recipients Jorge.Gomes, eric.smith, gregory.p.smith, martin.panter, orsenthil
Date 2013-11-24.02:51:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385261473.7.0.790920286432.issue16134@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like Issue 9374 already covers most of this, with fixes in 2.7, 3.2 and 3.3.

$ python3.3
Python 3.3.2 (default, May 16 2013, 23:40:52) 
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from urllib.parse import urlparse
>>> urlparse("protocol://servername:port/")
ParseResult(scheme='protocol', netloc='servername:port', path='/', params='', query='', fragment='')
>>> urlparse("rtmp://a.rtmp.youtube.com/videolive?ns=yt-live&id=123456&itag=35&signature=blahblahblah/yt-live.123456.35")
ParseResult(scheme='rtmp', netloc='a.rtmp.youtube.com', path='/videolive', params='', query='ns=yt-live&id=123456&itag=35&signature=blahblahblah/yt-live.123456.35', fragment='')

Now there are only the three unresolved aspects listed below, as I see it. Personally I think the first, for urljoin(), should be fixed (hopefully in a generic way without whitelists). I mentioned this in Issue 18828. I wonder if last two really matter?

* uses_relative: would allow urljoin() to work. Compare urljoin("rtmp://host/", "path") and urljoin("rtsp://host/", "path").
* uses_netloc: would affect urlunsplit(("rtmp", "", "/path", "", ""))
* uses_params: would affect urlparse("rtmp://host/;a=b")
History
Date User Action Args
2013-11-24 02:51:13martin.pantersetrecipients: + martin.panter, gregory.p.smith, orsenthil, eric.smith, Jorge.Gomes
2013-11-24 02:51:13martin.pantersetmessageid: <1385261473.7.0.790920286432.issue16134@psf.upfronthosting.co.za>
2013-11-24 02:51:13martin.panterlinkissue16134 messages
2013-11-24 02:51:13martin.pantercreate