On Wed, 26 May 2021 at 12:55, Shreyan Avigyan firstname.lastname@example.org wrote:
What's a const *ptr and a const *ptr const?
In C, a const pointer means a pointer that can only point to one value while const pointer const means a pointer that can only point to one constant value.
Python has names that bind to values. They are *not* equivalent to pointers that point to variables. So I suspect that the communication problem here is that you aren't thinking of what you're trying to propose in Python terms, hence everyone else (who is!) is misunderstanding you.
You need to make sure that you properly understand Python's name binding mechanisms before proposing to change them... (Maybe you do, in which case can you please express your ideas in terms of those mechanisms, not in terms of C).