[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

Tarek Ziadé report at bugs.python.org
Mon Nov 16 12:49:34 CET 2009


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

Ok so, can you confirm this is working on your side ?

VisualStudio 9:

>>> from distutils.msvc9compiler import Reg
>>> path = r'Software/Microsoft/VisualStudio/9.0'
>>> Reg.get_value(path, u"applicationid")
'VisualStudio'
>>> import _winreg
>>> HKCU = _winreg.HKEY_CURRENT_USER
>>> 'VisualStudio' in Reg.read_keys(HKCU, r'Software\Microsoft')
True


VCExpress 9: (works for me on Windows XP - VC ++9.0 Express edition)

>>> from distutils.msvc9compiler import Reg
>>> path = r'Software/Microsoft/VCExpress/9.0'
>>> Reg.get_value(path, u"applicationid")
'VCExpress'
>>> import _winreg
>>> HKCU = _winreg.HKEY_CURRENT_USER
>>> 'VisualStudio' in Reg.read_keys(HKCU, r'Software\Microsoft')
True

----------

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


More information about the Python-bugs-list mailing list