[Python-modules-team] Bug#841726: ipython3: importing something from ipython has side effects

Chris Lamb lamby at debian.org
Sun Oct 23 08:52:47 UTC 2016


Dominik George wrote:

> I wouldn't open an RC bug against python-apt because it calls init_config(),

Sure; I explained poorly — packages that *use* apt_pkg would call init_config()
which presumably has side-effects (?), not python-apt itself…

There's no need to check this specific instance, it's just one example of a
potential side-effects that mean importing everything is, alas, by design
broken. Don't forget all the other import-time monkey-patching, etc. too.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Python-modules-team mailing list