I think the only reason to introduce something like `private` is refactoring. If you added a `_variable` and later you decided to expose it, you have to change it to `variable`. This is something that in languages like Java is not necessary, you have only to change the variable from private to public. This sometimes bothered me in Python. _______________________________________________ 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/BCYFOTTKO5MO7Q4P72V47Z3QDHJBCOVA/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: Add support for private varia... Chris Angelico
- [Python-ideas] Re: Add support for private varia... Mitch Negus
- [Python-ideas] Re: Add support for private varia... Shreyan Avigyan
- [Python-ideas] Re: Add support for private varia... 2QdxY4RzWzUUiLuE
- [Python-ideas] Re: Add support for private varia... Shreyan Avigyan
- [Python-ideas] Re: Add support for private varia... David Mertz
- [Python-ideas] Re: Add support for private varia... Steven D'Aprano
- [Python-ideas] Re: Add support for private varia... Shreyan Avigyan
- [Python-ideas] Re: Add support for private varia... Ethan Furman
- [Python-ideas] Re: Add support for private varia... Shreyan Avigyan
- [Python-ideas] Re: Add support for private varia... Marco Sulla
- [Python-ideas] Re: Add support for private varia... Chris Angelico
- [Python-ideas] Re: Add support for private varia... Marco Sulla
- [Python-ideas] Re: Add support for private varia... Chris Angelico
- [Python-ideas] Re: Add support for private varia... Marco Sulla
- [Python-ideas] Re: Add support for private varia... 2QdxY4RzWzUUiLuE
- [Python-ideas] Re: Add support for private varia... Marco Sulla
- [Python-ideas] Re: Add support for private varia... Chris Angelico
- [Python-ideas] Re: Add support for private varia... Marco Sulla
- [Python-ideas] Re: Add support for private variables, met... Simão Afonso
- [Python-ideas] Re: Add support for private variables, met... Serhiy Storchaka