Steven D'Aprano wrote:
If it were a class method, you would call it by MyBaseClass.__new__() rather than explicitly providing the cls argument.
But that wouldn't be any good, because the base __new__ needs to receive the actual class being instantiated, not the class that the __new__ method belongs to. -- Greg -- https://mail.python.org/mailman/listinfo/python-list