Added but didn't replace its usage anywhere in the code with an import yet.
ENH: Add Bunch object to tools.
having this in a central location is a good idea
my usual comment:
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> import sys
>>> import statsmodels.tools.tools as stt
Operating under the assumption that DRY > import pollution. Can clean up things in a separate commit.
for example put it into a _tools_light.py, and add from _tools_light import Bunch in tools.py
then we get DRY, and no import pollution when that brings an advantage.
from _tools_light import Bunch
Feel free to do this in a tools cleanup commit, but pretty soon we have matlab code.