Task #3224 (new)
Opened 9 years ago
[Py] Choose and unify use of super(X, self).__init__ or X.__init__(self) et al.
| Reported by: | jamoore | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | Unscheduled |
| Component: | General | Version: | n.a. |
| Keywords: | n.a. | Cc: | cblackburn, cxallan, cneves, atarkowska, dzmacdonald |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
About half of our code (OmeroFs, omero.client) uses X.__init__(self) while the other half (OmeroWeb, omero.gateway) uses super(X, self).__init__(). We should standardize on one style for all inherited methods, and use it consistently throughout the code base.
(My vote would probably be for "super()")
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.