Package: ipython3
Version: 2.4.1-1
Severity: critical
Justification: breaks unrelated software
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Importing ipython in any other Python script has side effects. This is
sometimes done, e.g. in situations where a script wants to list all
packages inst
Hi,
> ipython3: importing something from ipython has side effects
Many, many Python packages have import-time side-effects that are
far more suble than this. Whilst this a regrettable state of affairs,
fixing them all is just not possible anymore.
A script that imports all packages installed on
Hi,
> Many, many Python packages have import-time side-effects that are
> far more suble than this. Whilst this a regrettable state of affairs,
> fixing them all is just not possible anymore.
Well, this bug report is about this specific bug, not all bugs of this kind.
>
> A script that imports
> Not at all. This is the only way to get a list of all available Python
> packages, and it is even what core Python's help("modules") does.
And no, I do not like that either ☹. But it's a matter of sad fact.
--
PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296
Dominik Georg
Dominik George wrote:
> Besides speech-dispatcher, against which I also reported a bug, I do not
> have any packages on my system that show such behaviour.
Oh, really? But surely some of them adjust sys.path (probably the most
common?) as well as importing shared libraries and running stuff like
Hi,
> > Besides speech-dispatcher, against which I also reported a bug, I do not
> > have any packages on my system that show such behaviour.
>
> Oh, really? But surely some of them adjust sys.path (probably the most
> common?) as well as importing shared libraries and running stuff like
> ``apt
> 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.
Totally agreed.
-nik
--
PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17
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
Control: severity -1 wishlist
Please explain to the upstream how do you want the module to behave.
--
WBR, wRAR
signature.asc
Description: PGP signature
Processing control commands:
> severity -1 wishlist
Bug #841726 [python3-ipdb] ipython3: importing something from ipython has side
effects
Severity set to 'wishlist' from 'critical'
--
841726: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841726
Debian Bug Tracking System
Contact ow...@bugs.
10 matches
Mail list logo