[Python-modules-team] Bug#703585: wrong fix?

Antoine Martin antoine at nagafix.co.uk
Mon Jan 13 06:28:03 UTC 2014


Correct me if I'm wrong, but the suggested fix in comment 15 looks wrong
to me:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703585#15

PyOpenGL already has a loader for numpy, this only slots numpy where
"python-numeric" used to go, effectively loading it twice under two names.
It avoids the warning, but I don't think that's right.

The more fundamental problem is twofold:
* it tries to import libraries which are highly unlikely to be found on
the system (with "python-numeric" being replaced by "numpy" everywhere)
* when it fails to load, it spits out those huge stacktraces that scare
users, simply saying "accelerator module XYZ not installed" would be
just as correct and far less likely to cause so many false problems



More information about the Python-modules-team mailing list