[issue10919] Environment variables are not expanded in _winreg when using REG_EXPAND_SZ.

2011-01-16 Thread Richard Nienaber
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

[issue10919] Environment variables are not expanded in _winreg when using REG_EXPAND_SZ.

2011-01-16 Thread Richard Nienaber
Richard Nienaber rjniena...@gmail.com added the comment: Further documentation on the RegEnumValue function (used by the _winreg module): http://msdn.microsoft.com/en-us/library/ms724865(v=vs.85).aspx. The documentation doesn't say whether the string is expanded or not on retrieval. Given