[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#606633: Bug#620159: python-stats: Provides io module, which is also the name of a stdlib module



On 03/30/2011 05:56 PM, Stefano Rivera wrote:
Package: python-stats
Version: 0.6-8
Severity: serious

python-stats provides 3 top level modules, one of which has the same
name as a stdlib module. This will make it hard to import (stdlib comes
first in the default sys.path), and can confuse other (broken) packages
(i.e. #620087)

$ dpkg -L python-stats
/usr/share/pyshared/pstat.py
/usr/share/pyshared/stats.py
/usr/share/pyshared/io.py

Can I suggest:
* Removing io.py from the module. (Is it necessary?)
* Moving the modules into a stats submodule (I can't see any rdepends, but
   python-gamera will soon depend on it)

Keeping python-stats will not be necessary; maybe just use the copy included in gamera, and then file a request to remove the package from unstable.

* or removing it (Someone else wants this name: #606633)

even if the package is removed, using the same name for something new may lead to other incompatibilities.

  Matthias



Reply to: