Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #3224 (new)

Opened 13 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()")

Change History (0)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65985 sec.)

We're Hiring!