gh-146175: Soft-deprecate outdated macros; convert internal usage (GH-146178)



Co-authored-by: Victor Stinner <vstinner@python.org>
16 files changed