Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Soft-deprecate outdated C API macros #146175

Closed
Assignees
encukou
Labels
@encukou

Description

@encukou

Asdiscussed on C API WG, formally soft-deprecate outdated macros:

  • Py_LL &Py_ULL: UseLL/ULL suffixes.
  • Py_MEMCPY (already soft-deprecated)
  • Py_VA_COPY: Useva_copy directly.
  • PY_LONG_LONG,PY_LLONG_MIN,PY_LLONG_MAX,PY_ULLONG_MAX,PY_INT32_T,PY_UINT32_T,PY_INT64_T,PY_UINT64_T,PY_SIZE_MAX: Use C99 types/limits
  • Py_UNICODE_SIZE: Usesizeof(wchar_t) directly
  • PY_FORMAT_SIZE_T: Use"z" directly
  • Py_ALIGNED: Use_Alignas (C11) oralignas (C++ & C23) instead.

PlusPy_UNICODE_WIDE: soft-deprecate this instead of removing. (There's been no visible warning outside docs, and removing an#ifdef macro is indistinguishable from making it “false”.)

Linked PRs

Metadata

Metadata

Assignees

Labels

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2026 Movatter.jp