Author ncoghlan
Recipients CuriousLearner, ncoghlan, ppt000, serhiy.storchaka, xtreak
Date 2019-02-19.12:53:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Paolo: it still won't be completely clear, since there's still the subtle issue that __new__ is a static method rather than a class method, so the correct calls up to the base class are respectively:

    super(Singleton, cls).__new__(cls) # Static method, cls needs to be passed explicitly

    super(Singleton, self).__init__() # Bound method, self filled in automatically
Date User Action Args
2019-02-19 12:53:41ncoghlansetrecipients: + ncoghlan, serhiy.storchaka, CuriousLearner, xtreak, ppt000
2019-02-19 12:53:41ncoghlansetmessageid: <>
2019-02-19 12:53:41ncoghlanlinkissue31506 messages
2019-02-19 12:53:41ncoghlancreate