Skip to content

docs: document compiler migration paths - #5295

Draft
aryansk wants to merge 1 commit into
pypa:mainfrom
aryansk:codex/issue-5272-compiler-migration-docs
Draft

docs: document compiler migration paths#5295
aryansk wants to merge 1 commit into
pypa:mainfrom
aryansk:codex/issue-5272-compiler-migration-docs

Conversation

@aryansk

@aryansk aryansk commented Aug 9, 2026

Copy link
Copy Markdown

Summary

  • document the migration from distutils.ccompiler to the standalone compilers.C API
  • add mappings for Compiler, new_compiler, get_default_compiler, and show_compilers
  • document compilers.platform.get_platform as the replacement for distutils.util.get_platform
  • clarify that setuptools._distutils is private and that Setuptools does not provide a re-export layer

Resolves #5272

Validation

AI disclosure

This draft was prepared with AI assistance. No claim of human review is made; it remains a draft for maintainer review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fill migration-guide gaps for ccompiler / new_compiler / get_platform

1 participant