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

2008-11-23 Thread bMotu
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 "", line 1, in 
os.extsep
AttributeError: 'module' object has no attribute 'extsep'

why is this attribute gone in 3.0rc3 ?

where is this documented ?

ciao, motu
--
http://mail.python.org/mailman/listinfo/python-list


3.0rc3: List of 'os.', 'os.path.' attribute redundencies ... !! ?

2008-11-24 Thread bMotu
IDLE 3.0rc3  (using XP)
>>> import os

>>> os.altsep
'/'
>>> os.path.altsep
'/'

>>> os.curdir
'.'
>>> os.path.curdir
'.'

>>> os.defpath
'.;C:\\bin'
>>> os.path.defpath
'.;C:\\bin'

>>> os.devnull
'nul'
>>> os.path.devnull
'nul'

>>> os.pardir
'..'
>>> os.path.pardir
'..'

>>> os.pathsep
';'
>>> os.path.pathsep
';'

>>> os.sep
'\\'
>>> os.path.sep
'\\'

these - me thinks - should go away:
   os.altsep
   os.path.curdir
   os.path.defpath
   os.pathsep
   os.sep

these I do not understand:
>>> os.devnull
'nul'
>>> os.path.devnull   # should probably go away
'nul'

>>> os.pardir
'..'
>>> os.path.pardir   # should probably go away
'..'

ciao, motu
--
http://mail.python.org/mailman/listinfo/python-list