A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/078988.html below:

[Python-Dev] Problems with the new super()

[Python-Dev] Problems with the new super() [Python-Dev] Problems with the new super()Phillip J. Eby pje at telecommunity.com
Thu May 1 22:00:02 CEST 2008
At 04:38 PM 5/1/2008 -0300, Facundo Batista wrote:
>Has super() proved more useful than harmful?

For me, yes.  I use it all the time.  The only time I use 
explicit-target upcalls is in __init__ methods, and there usually 
only to skip a subclass' init or to explicitly manage a tricky bit of 
multiple inheritance.

(Note, by the way, that you cannot safely write an upcall in a mixin 
class without super, so it can't safely be done away with, anyway.)

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4