Re:Intel Extension for Scikit-Learn
by dangerbird2 on Monday November 01, 2021 @01:27PM
(#29069906)
Also networking/web apps with lifecycle hooks, where careless import-time logic can break the setup procedures. To quote zen of python, "explicit is better than implicit"
In general, I'm a fan of "let me call the initializer myself, at program startup." It's especially important when you want reversibility, i.e. teardown in addition to initialization, which pops up all the time for unit tests.