On Mon, May 10, 2010 at 05:56:29PM +0900, Stephen J. Turnbull wrote:
> Senthil Kumaran writes:
>
> > I should have said, 'treatment of urls with authority' and 'treatment
> > of urls without authority' in terms of parsing and joining is as per
> > RFC. How it is doing practically is by maintai
Senthil Kumaran writes:
> I should have said, 'treatment of urls with authority' and 'treatment
> of urls without authority' in terms of parsing and joining is as per
> RFC. How it is doing practically is by maintaining a list of urls
> with known scheme names which use_netloc.
Why do that i
On Mon, May 10, 2010 at 05:11:12PM +0900, Stephen J. Turnbull wrote:
> > Not all urls have the 'authority' component after the scheme. (sip
> > based urls for e.g) urlparse differentiates those by maintaining a
> > list of scheme names which will follow the pattern of parsing, and
> > joining f
Senthil Kumaran writes:
> Not all urls have the 'authority' component after the scheme. (sip
> based urls for e.g) urlparse differentiates those by maintaining a
> list of scheme names which will follow the pattern of parsing, and
> joining for the urls which have a netloc (or authority compo
David Abrahams writes:
> At Sat, 08 May 2010 11:04:47 -0500,
> John Arbash Meinel wrote:
> > Don't you need to register the "git+file:///" url for urlparse to
> > properly split it?
>
> Yes. But the question is whether urlparse should really be so fragile
> that every hierarchical scheme
On Sun, May 09, 2010 at 03:19:40PM -0600, David Abrahams wrote:
> John Arbash Meinel wrote:
> > Don't you need to register the "git+file:///" url for urlparse to
> > properly split it?
>
> Yes. But the question is whether urlparse should really be so fragile
> that every hierarchical scheme needs
On Sun, May 09, 2010 at 03:19:40PM -0600, David Abrahams wrote:
> Yes. But the question is whether urlparse should really be so fragile
> that every hierarchical scheme needs to be explicitly registered.
> Surely ending with “+file” should be sufficient to have it recognized
> as a file-based sche
At Sat, 08 May 2010 11:04:47 -0500,
John Arbash Meinel wrote:
>
> Stephen J. Turnbull wrote:
> > David Abrahams writes:
> > >
> > > This is a bug report. bugs.python.org seems to be down.
> > >
> > > >>> from urlparse import *
> > > >>> urlunsplit(urlsplit('git+file:///foo/bar/baz'))
>
John Arbash Meinel writes:
> Stephen J. Turnbull wrote:
> > David Abrahams writes:
> > >
> > > This is a bug report. bugs.python.org seems to be down.
> > >
> > > >>> from urlparse import *
> > > >>> urlunsplit(urlsplit('git+file:///foo/bar/baz'))
> > > git+file:/foo/bar/baz
Stephen J. Turnbull wrote:
> David Abrahams writes:
> >
> > This is a bug report. bugs.python.org seems to be down.
> >
> > >>> from urlparse import *
> > >>> urlunsplit(urlsplit('git+file:///foo/bar/baz'))
> > git+file:/foo/bar/baz
> >
> > Note the dropped slashes after the colon
David Abrahams writes:
>
> This is a bug report. bugs.python.org seems to be down.
>
> >>> from urlparse import *
> >>> urlunsplit(urlsplit('git+file:///foo/bar/baz'))
> git+file:/foo/bar/baz
>
> Note the dropped slashes after the colon.
That's clearly wrong, but what does "+" ha
On Fri, May 7, 2010 at 21:04, Senthil Kumaran wrote:
> On Sat, May 8, 2010 at 8:19 AM, David Abrahams 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+
On Sat, May 8, 2010 at 8:19 AM, David Abrahams 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 r
This is a bug report. bugs.python.org seems to be down.
>>> from urlparse import *
>>> urlunsplit(urlsplit('git+file:///foo/bar/baz'))
git+file:/foo/bar/baz
Note the dropped slashes after the colon.
--
Dave Abrahams Meet me at BoostCon: http://www.boostcon.com
BoostPro Computi
14 matches
Mail list logo