super() in Python
-
@Denni-0 said in Signals blocked from widget in QMdiSubwindow but not in QDilaog:
Hmm okay went and looked that up again and my bad you did use
super()the current python3 wayThank you for acknowledging this.
However as I pointed out in the code I posted using
super()in python carries with it issues and currently bugs.... frankly in Python you are gaining nothing by using it and losing a lot.I notice that you've been actively discouraging users from using
super()in different threads. However, while you've told us that it causes problems, I haven't found a post from you where you showed how it causes problems. If you have indeed made such a post, please point me to it. Without proof, your statements aren't convincing.In any case, the Python maintainers have acknowledged the problems with
super()in Python 2 and redesigned it for Python 3. The official docs (which @Howard.Swope linked to above) even points to a blog post which highlights the many benefits ofsuper(). So, if you still truly believe that Python 3'ssuper()is harmful, please talk to the Python creators, maintainers, and community. This forum is not an appropriate place for such discussions.