Open
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