|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Functions | |
| def | get_unpatched (item) |
| def | get_unpatched_class (cls) |
| def | patch_all () |
| def | patch_func (replacement, target_mod, func_name) |
| def | get_unpatched_function (candidate) |
| def | patch_for_msvc_specialized_compiler () |
Monkey patching of distutils.
| def setuptools.monkey.get_unpatched | ( | item | ) |
| def setuptools.monkey.get_unpatched_class | ( | cls | ) |
Protect against re-patching the distutils if reloaded Also ensures that no other distutils extension monkeypatched the distutils first.
| def setuptools.monkey.get_unpatched_function | ( | candidate | ) |
| def setuptools.monkey.patch_all | ( | ) |
| def setuptools.monkey.patch_for_msvc_specialized_compiler | ( | ) |
Patch functions in distutils to use standalone Microsoft Visual C++ compilers.
| def setuptools.monkey.patch_func | ( | replacement, | |
| target_mod, | |||
| func_name | |||
| ) |
Patch func_name in target_mod with replacement Important - original must be resolved by name to avoid patching an already patched function.