Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use %zd printf format in the C code of Python #93202

Closed
@vstinner

Description

@vstinner

Python 3.12 now requires a C11 compiler. We don't have to check if the %zd printf format is supported: it's available since C99. Python 3.6 requires a C99 compiler to build.

The PY_FORMAT_SIZE_T macro was already updated to be always defined as "z": commit d765d81.

This issue is a follow-up of the previous issue #81962.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions