[Python-ideas] os.path.join

anatoly techtonik techtonik at gmail.com
Mon Nov 4 17:13:52 CET 2013


On Mon, Nov 4, 2013 at 6:37 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> On 04/11/2013 15:25, anatoly techtonik wrote:
>>
>> On Thu, Oct 31, 2013 at 5:07 PM, Mark Lawrence <breamoreboy at yahoo.co.uk>
>> wrote:
>>>
>>> On 31/10/2013 10:31, anatoly techtonik wrote:
>>>>
>>>>
>>>> On Wed, Oct 30, 2013 at 10:41 PM, Mark Lawrence
>>>> <breamoreboy at yahoo.co.uk>
>>>> wrote:
>>>>>
>>>>>
>>>>> On 30/10/2013 16:34, anatoly techtonik wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>      >>> os.path.join('/static', '/styles/largestyles.css')
>>>>>>      '/styles/largestyles.css'
>>>>>>
>>>>>> Is it only me who thinks that the code above is wrong?
>>>>>>
>>>>>
>>>>> Is this the appropriate place for such a question?  What is wrong with
>>>>> the
>>>>> main Python mailing list, Stackoverflow...?
>>>>>
>>>>> --
>>>>> Python is the second best programming language in the world.
>>>>> But the best has yet to be invented.  Christian Tismer
>>>>
>>>>
>>>>
>>>> Both Python ML and SO are bad for inventing new languages.
>>>> --
>>>> anatoly t.
>>>>
>>>
>>> I'm completely baffled by your comment, so please explain yourself.
>>
>>
>> I mean that if you're going to invent new language or improve existing
>> one, you need a place to keep notes about things that need to be
>> improved, so that you can find them when the time comes. Neither ML
>> nor StackOverflow (SO) are such place.
>>
>
> What on earth has this got to do with your original question, a trivial
> thing about os.path.join?  I'd say this is definitely not the place to be
> asking this particular question, in fact I'd say anywhere but here.

The question was:

1. if this specific behavior for joining paths is still actual
2. if there are other people who don't expect it to work in this way

I find Ruby approach more useful, and it's quite valuable info that
the call can not be directly converted between stdlibs.


More information about the Python-ideas mailing list