On Thu, May 6, 2021, 11:12 AM Shreyan Avigyan <pythonshreya...@gmail.com> wrote:
> David Mertz: > > I am a strong -1 on this > > Thanks for your feedback. But I'm not suggesting introducing a new > behavior. The @property already creates read-only member variables. What > I'm suggesting is that introducing a new keyword or decorator as required > to create a variable that can be modified from within the class but not > outside the class. > Yes, that's exactly what I'm -1 on.
_______________________________________________ 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/K3UCMZ2WD7QM4TQEJHWEPHXKYAQ7TOAE/ Code of Conduct: http://python.org/psf/codeofconduct/