[Python-Dev] urlparse.urlunsplit should be smarter about + (original) (raw)

David Borowitz ddborowitz at gmail.com
Sat May 8 06:12:28 CEST 2010


On Fri, May 7, 2010 at 21:04, Senthil Kumaran <orsenthil at gmail.com> wrote:

On Sat, May 8, 2010 at 8:19 AM, David Abrahams <dave at boostpro.com> wrote: > > This is a bug report. bugs.python.org seems to be down.

Tracked here: http://bugs.python.org/issue8656 > >>> urlunsplit(urlsplit('git+file:///foo/bar/baz')) Is 'git+file' a valid protocol? Or was it just your example? I don't see any reason for it to be invalid but I don't find authoritative references either.

RFC 3986 is pretty clear on allowing '+' in scheme names, in principle if not necessarily in practice: http://tools.ietf.org/html/rfc3986#section-3.1

-- Senthil


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/ddborowitz%40gmail.com

-- It is better to be quotable than to be honest. -Tom Stoppard

Borowitz -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100507/b307e57e/attachment.html>



More information about the Python-Dev mailing list