Issue1695

classification
Title: os.path.expandvars does not behave as descibed in doc _under_windows.
Type: behaviour Severity: normal
Components: None Versions: 2.5.2rc
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: kieffer, pjenvey
Priority: Keywords:

Created on 2011-01-10.10:27:40 by kieffer, last changed 2011-01-10.19:12:21 by pjenvey.

Messages
msg6320 (view) Author: Jerome Kieffer (kieffer) Date: 2011-01-10.10:27:40
This bug has been noticed under windows ... not under linux.

C:\Users\kieffer.ESRF\workspace\tests>python
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> a="${NonExistingKey}"
>>> import os
>>> os.path.expandvars(a)
'${NonExistingKey}'
>>>

C:\Users\kieffer.ESRF\workspace\tests>jython
Jython 2.5.2rc2 (Release_2_5_2rc2:7167, Oct 24 2010, 22:48:30)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_22
Type "help", "copyright", "credits" or "license" for more information.
>>> a="${NonExistingKey}"
>>> import os
>>> os.path.expandvars(a)
''
msg6321 (view) Author: Philip Jenvey (pjenvey) Date: 2011-01-10.19:12:21
Jython 2.5 targets CPython 2.5 compatibility. You're comparing the behavior of Python 2.6 (which improved this functionality), so this isn't a bug
History
Date User Action Args
2011-01-10 19:12:21pjenveysetstatus: open -> closed
resolution: invalid
messages: + msg6321
nosy: + pjenvey
2011-01-10 10:27:40kieffercreate