In particular, BUILD is called by new_instance, so it will also be called when you clone an object, but an overridden new method will not. Overriding new should basically only be done to provide a different method signature, any actual behavioral changes should probably go in BUILD.
In particular,
BUILD
is called bynew_instance
, so it will also be called when you clone an object, but an overriddennew
method will not. Overridingnew
should basically only be done to provide a different method signature, any actual behavioral changes should probably go inBUILD
.