-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
theme: the C languageissues related to the way we use the C languageissues related to the way we use the C language
Description
The C API almost never uses const
, so it's usually simply unused in user code too.
Future/alternative implementations might need to modify refcounts (or similar) in arguments that are now const
, and removing const
from a signature is an API break.
Is it worth it to use const
in new API?
See also: python/cpython#91768
Metadata
Metadata
Assignees
Labels
theme: the C languageissues related to the way we use the C languageissues related to the way we use the C language