[issue8657] urlparse.urlunsplit should be smarter about +

2010-05-12 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have added 'git' and 'git+ssh' under known schemes which will recognize authority/netloc and follow consistent round trip parsing behaviors. For any unknown scheme(x or git+file), it might required to update the uses_netloc in the application. git+ and sv

[issue8657] urlparse.urlunsplit should be smarter about +

2010-05-08 Thread Dan Buch
Dan Buch added the comment: Is simply adding 'git+' entries comprehensive enough? I'd have said the same thing about the addition of the 'svn+' entries, fwiw :) Is adding hardcoded entries like this the preferred way to extend urlparse? -- nosy: +meatballhat ___

[issue8657] urlparse.urlunsplit should be smarter about +

2010-05-07 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- assignee: -> orsenthil keywords: +patch nosy: +orsenthil resolution: -> accepted stage: -> patch review type: -> behavior Added file: http://bugs.python.org/file17258/urlparse_giturl.patch ___ Python tracker

[issue8657] urlparse.urlunsplit should be smarter about +

2010-05-07 Thread Dave Abrahams
New submission from Dave Abrahams : from urlparse import * urlunsplit(urlsplit('git+file:///foo/bar/baz')) => git+file:/foo/bar/baz -- messages: 105253 nosy: dabrahams priority: normal severity: normal status: open title: urlparse.urlunsplit should be smarter about + versions: Python 2.6