New submission from Richard Nienaber <rjniena...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10919>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to