[issue39943] Meta: Clean up various issues in C internals

STINNER Victor report at bugs.python.org
Thu Mar 26 21:18:41 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

What is the rationale for adding const? For example, does the PR 19185 fix any compiler warning or any bug? While PR 19185 is correct, I am not sure that we should modify the 607K lines of C code of CPython to add const everywhere. I'm fine with using const for new code, but I'm not sure that it's worth it to modify exiting code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39943>
_______________________________________


More information about the Python-bugs-list mailing list