On Wed, 26 May 2021 at 12:55, Shreyan Avigyan <pythonshreya...@gmail.com> 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).

Paul
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/XMQR3BXRB5VBZIJZ5IKX2CFYJNTVD2A6/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to