[Python-Dev] Re: [Python-checkins] CVS: distutils/distutils msvccompiler.py (original) (raw)

Thomas Heller thomas.heller@ion-tof.com
Fri, 31 Mar 2000 19:09:41 +0200


Simplified Thomas Heller's registry patch: just assign all those HKEY* and Reg* names once, rather than having near-duplicate code in the two import attempts.

Your change won't work, the function names in win32api and winreg are not the same: Example: win32api.RegEnumValue <-> winreg.EnumValue

Also dropped the leading underscore on all the imported symbols, as it's not appropriate (they're not local to this module).

Are they used anywhere else? Or do you think they could be used somewhere else?

Thomas Heller