[New-bugs-announce] [issue10919] Environment variables are not expanded in _winreg when using REG_EXPAND_SZ.

Richard Nienaber report at bugs.python.org
Sun Jan 16 19:23:30 CET 2011


New submission from Richard Nienaber <rjnienaber at gmail.com>:

According to Microsoft documentation (http://msdn.microsoft.com/en-us/library/ms724884(v=vs.85).aspx) when using the REG_EXPAND_SZ value type, environment variables (e.g. %programfiles%) should be expanded to their values (e.g. 'C:\Program Files'). 

I've added a test case that reproduces this error.

----------
components: Library (Lib)
files: testcase-24042.py
messages: 126368
nosy: rjnienaber
priority: normal
severity: normal
status: open
title: Environment variables are not expanded in _winreg when using REG_EXPAND_SZ.
versions: Python 2.7
Added file: http://bugs.python.org/file20418/testcase-24042.py

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


More information about the New-bugs-announce mailing list