You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
super has changed between Python 2 and 3. On 2, super(ClassName, self) was expected but on 3, super() works. These changes are similar to that in traits and envisage enthought/traits#1280. Please use the regex mentioned in the traits PR to automated to search and replace - instead of making these changes by hand, manually.
The text was updated successfully, but these errors were encountered:
Just a note: a little bit of care is required, since historically we have had some instances where the explicit Python-2-version super call refers to something other than the current class in its first argument.
Any such instances are likely broken and need careful examination. But the main point is that there is potential for behaviour change as a result of the regex replacement.
super
has changed between Python 2 and 3. On 2,super(ClassName, self)
was expected but on 3,super()
works. These changes are similar to that in traits and envisage enthought/traits#1280. Please use the regex mentioned in the traits PR to automated to search and replace - instead of making these changes by hand, manually.The text was updated successfully, but these errors were encountered: