mat puts unqualified module with common name in system path

Bug #1079905 reported by doclist
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mat (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

mat puts a module named "lib" in dist-packages. importing "lib" will therefore refer to this module provided by mat.

The name "lib" is so common that it is likely to conflict with other python modules. A local python package that also contains a module named "lib" will mysteriously fail if the system package appears first in sys.path (which I believe is default).
The name "lib" is so generic as to provide no indication as to the fact that it comes from mat.

The module name should be qualified as a submodule of mat.

Revision history for this message
Sascha Steinbiss (satta) wrote :

This is apparently no longer the case, it's "libmat" in recent versions. I guess this can be closed.

Revision history for this message
Sascha Steinbiss (satta) wrote :

Closed as the described behaviour is no longer observed in recent versions.

Changed in mat (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.