04.11.13 20:01, Mark Lawrence написав(ла):
On 04/11/2013 17:34, Ethan Furman wrote:
On 11/04/2013 09:29 AM, random...@fastmail.us wrote:
I did, incidentally, notice a bug in macpath's *split* function;
macpath.split(':foo::bar') should return (':foo::','bar') rather than
(':foo:','bar').
Ope
On 04/11/2013 17:34, Ethan Furman wrote:
On 11/04/2013 09:29 AM, random...@fastmail.us wrote:
I did, incidentally, notice a bug in macpath's *split* function;
macpath.split(':foo::bar') should return (':foo::','bar') rather than
(':foo:','bar').
Open a bug report. :)
http://bugs.python.org
On 11/04/2013 09:29 AM, random...@fastmail.us wrote:
I did, incidentally, notice a bug in macpath's *split* function;
macpath.split(':foo::bar') should return (':foo::','bar') rather than
(':foo:','bar').
Open a bug report. :)
http://bugs.python.org
--
~Ethan~
--
https://mail.python.org/mai
On Monday, November 4, 2013 9:47:18 PM UTC+5:30, Chris Angelico wrote:
> Blargh, wrong list. It should have been private anyway. Kindly take no
> notice of the man behind the 3AM clock...
>
>
> ChrisA
Ive got a little list Ive got a little list
For Australians of all kinds Ive got a little list
On Mon, Nov 4, 2013, at 11:07, Chris Angelico wrote:
> Then os.path.join is probably the wrong tool for the job. Do you want
> to collapse "/foo/bar" + "../quux" into "/foo/quux"? That rewrites the
> first. If not, don't use a function that does that. Try simple string
> concatenation instead.
>>>
On 11/04/2013 08:07 AM, Chris Angelico wrote:
On Tue, Nov 5, 2013 at 2:29 AM, anatoly techtonik wrote:
Right. But I am working more with URL paths nowadays. In there if I
want to join two paths, no matter if 2nd starts with slash or not, I
don't really expect the 2nd to rewrite the first.
The
Blargh, wrong list. It should have been private anyway. Kindly take no
notice of the man behind the 3AM clock...
ChrisA
On Tue, Nov 5, 2013 at 3:07 AM, Chris Angelico wrote:
> On Tue, Nov 5, 2013 at 2:29 AM, anatoly techtonik wrote:
>> Right. But I am working more with URL paths nowadays. In th
On Tue, Nov 5, 2013 at 2:29 AM, anatoly techtonik wrote:
> Right. But I am working more with URL paths nowadays. In there if I
> want to join two paths, no matter if 2nd starts with slash or not, I
> don't really expect the 2nd to rewrite the first.
Then os.path.join is probably the wrong tool fo