[Distutils] Re: High level Registry API

Thomas Heller thomas.heller@ion-tof.com
Fri, 4 Feb 2000 12:59:59 +0100


> With respect to DeleteKey() allowing recursive deletes.
> Either require using SHDeleteKey() to do it correctly, or don't allow
> recursive deletes at all.
> The problem being is that when deleting registry keys recursively on NT
the
> entire operation should completly succeed or completly fail.
> If you naively recursively delete using RegDeleteKey() you can end up with
a
> partially completed delete operation which is completly annoying to go
about
> fixing.
> (bad, bad, bad)
>
> Bill
This is a usefull hint.

BTW: win32com has the same problem,
see win32com\server\register.py recurse_delete_key()

Thanks,

Thomas