[New-bugs-announce] [issue23742] expandvars removes single quotes ( ' )

Manuel Vögele report at bugs.python.org
Mon Mar 23 02:35:37 CET 2015


New submission from Manuel Vögele:

When executing

os.path.expandvars("%SystemDrive%\\Foo'Bar")

the function erases the ' returning

'C:\\FooBar'

using Python 3.4.3 on Windows 7

----------
components: Library (Lib)
messages: 238968
nosy: manuel_v, serhiy.storchaka
priority: normal
severity: normal
status: open
title: expandvars removes single quotes ( ' )
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23742>
_______________________________________


More information about the New-bugs-announce mailing list