[Python-checkins] r69038 - in python/trunk: PC/dl_nt.c Python/dynload_win.c

skip at pobox.com skip at pobox.com
Sat Feb 14 19:40:49 CET 2009


    Mark> +// Windows "Activation Context" work:
    Mark> +// Our .pyd extension modules are generally built without a manifest (ie,
    Mark> +// those included with Python and those built with a default distutils.
    Mark> +// This requires we perform some "activation context" magic when loading our
    Mark> +// extensions.  In summary:
    Mark> +// * As our DLL loads we save the context being used.
    Mark> +// * Before loading our extensions we re-activate our saved context.
    Mark> +// * After extension load is complete we restore the old context.
    Mark> +// As an added complication, this magic only works on XP or later - we simply
    Mark> +// use the existence (or not) of the relevant function pointers from kernel32.
    Mark> +// See bug 4566 (http://python.org/sf/4566) for more details.

Shouldn't these be c-style comments?

(Again, sorry if I'm way behind...)

Skip


More information about the Python-checkins mailing list