3.0rc3: 'os.extsep' gone ... ?

"Martin v. Löwis" martin at v.loewis.de
Mon Nov 24 02:43:05 EST 2008


Christian Heimes wrote:
> bMotu wrote:
>> IDLE 2.6
>>>>> import os
>>>>> os.extsep
>> '.'
>> running XP this result is fine ... !
>>
>> IDLE 3.0rc3
>>>>> import os
>>>>> os.extsep
>> Traceback (most recent call last):
>>   File "<pyshell#1>", line 1, in <module>
>>     os.extsep
>> AttributeError: 'module' object has no attribute 'extsep'
>>
>> why is this attribute gone in 3.0rc3 ?
>>
>> where is this documented ?
> 
> It's now os.path.extsep.

That doesn't really explain it. It always was os.path.extsep,
but it *also* was os.extsep.

I don't know the rationale for this change myself, either.

I doubt it is documented anywhere, nor do I think it should;
there won't be ever a complete list of changes between 2.x
and 3.x.

Regards,
Martin



More information about the Python-list mailing list