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 -- http://mail.python.org/mailman/listinfo/python-list