You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Py_ALIGNED: Use _Alignas (C11) or alignas (C++ & C23) instead.
Plus Py_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”.)
As discussed on C API WG, formally soft-deprecate outdated macros:
Py_LL&Py_ULL: UseLL/ULLsuffixes.Py_MEMCPY(already soft-deprecated)Py_VA_COPY: Useva_copydirectly.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/limitsPy_UNICODE_SIZE: Usesizeof(wchar_t)directlyPY_FORMAT_SIZE_T: Use"z"directlyPy_ALIGNED: Use_Alignas(C11) oralignas(C++ & C23) instead.Plus
Py_UNICODE_WIDE: soft-deprecate this instead of removing. (There's been no visible warning outside docs, and removing an#ifdefmacro is indistinguishable from making it “false”.)Linked PRs