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

Christian Heimes lists at cheimes.de
Mon Nov 24 08:09:26 CET 2008


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.

Christian




More information about the Python-list mailing list