Enhancement #1818
Change and/or enforce naming conventions in rsb-python
Status: | New | Start date: | 03/21/2014 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Python | |||
Target version: | rsb-1.0 |
Description
There are two basic issues:
- We have a mix of
self._VAR
andself.__VAR
for private attributes. This should probably be unified after consulting the relevant Python documentation. - PEP8 suggests a different naming convention for functions than we currently use. We should probably consider switching.
History
#1 Updated by J. Wienke about 9 years ago
There is a distinction between protected and private variables with 1 and 2 underscores.
#2 Updated by J. Moringen about 9 years ago
Johannes Wienke wrote:
There is a distinction between protected and private variables with 1 and 2 underscores.
We probably still have to check that we respect this distinction consistently.
#3 Updated by J. Moringen about 9 years ago
- Description updated (diff)