bouvyd’s avatarbouvyd’s Twitter Archive—№ 1,964

  1. …in reply to @Yenthe666
    @Yenthe666 Changing signatures of private functions has always been an accepted way to bugfix at Odoo - it's public signatures that we normally don't want to change. I would advise to use *args and **kwargs when extending those, if you want to code resiliently.
    1. …in reply to @bouvyd
      @Yenthe666 And ideally to always use a kwarg to avoid arguments positioning issue in case of a bugfix that would introduce a positioned arg.