Part of the compilers decoupling epic #5264 (Phase 1).
distutils/compilers/C/{base,msvc,unix}.py still import the distutils logger via from ..._log import log. Replace with a module-level logging.getLogger(__name__) so the compilers package logs through the stdlib.
This is the last surviving decoupling step from the abandoned debt/compilers-deps branch — the dry-run removal from that branch already landed on main.
Part of the compilers decoupling epic #5264 (Phase 1).
distutils/compilers/C/{base,msvc,unix}.pystill import the distutils logger viafrom ..._log import log. Replace with a module-levellogging.getLogger(__name__)so the compilers package logs through the stdlib.This is the last surviving decoupling step from the abandoned
debt/compilers-depsbranch — the dry-run removal from that branch already landed onmain.