Skip to content

Inline logging in compilers.C (drop distutils._log) #5266

Description

@jaraco

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions