Skip to content
  1. Mar 06, 2021
  2. Mar 05, 2021
  3. Mar 03, 2021
  4. Mar 01, 2021
  5. Feb 26, 2021
  6. Feb 12, 2021
  7. Feb 01, 2021
  8. Jan 27, 2021
  9. Jan 18, 2021
    • Florent Viard's avatar
      weboob.tools.backend: Fixes AbstractModule CONFIG with multiple inheritance · d3bf131e
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      In the case of an AbstractModule A depending on another AbstractModule
      B.
      B.CONFIG could be broken if A is loaded before B, for example because an
      operation with A is requested first after weboob startup.
      
      The root cause of the issue is that, to load A, the call to its
      "__new__" function will rewrite the parents of B on the process but will
      not take care to setup it's CONFIG correctly.
      
      Then, if you try to create an instance of B to use it directly, it will
      not be considered as an AbstractModule and so it will not be initialized
      with AbstractModule.__new__() to setup its CONFIG.
      
      As an example, there is the case of the "caissedepargne" module that
      depends on "banquepopulaire", that itself depends on "stet".
      
      This change ensure that, if needed, any intermediary dependency is
      properly loaded.
      d3bf131e
  10. Jan 10, 2021
  11. Jan 09, 2021
  12. Dec 26, 2020
  13. Oct 28, 2020
  14. Oct 07, 2020
  15. Sep 09, 2020
  16. May 22, 2020
  17. May 07, 2020
  18. Apr 29, 2020
  19. Apr 27, 2020
  20. Apr 22, 2020
  21. Apr 08, 2020