A possible solution would be in http://bazaar.launchpad.net/~pauli-virtanen/scipy/pydocweb/revision/386
It seems to be possible to be used in the same way when iter_modules is not available. The usage in ``_lookfor_generate_cache`` in lib/utils.py looks almost exactly the same as in the above revision Josef On Sep 23, 4:55 pm, "Jarrod Millman" <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 1:35 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > > On Tue, Sep 23, 2008 at 15:18, joep <[EMAIL PROTECTED]> wrote: > >> Hi, > >> I was trying to use lookfor on python 2.4 and got an exception with > >> np.lookfor because of a missing method in pkgutil that was added in > >> python 2.5. > > > Hmmm. Unfortunately, that's an intrinsic part of the lookfor() > > functionality. We could just bring in all of pkgutil.py. Or we remove > > lookfor(). Or we document it as working with Python 2.5 only. > > For 1.2.0, let's add a note to the docstring stating it currently > works for 2.5 and make it raise a more informative exception. > > lookfor is in 1.1.x as well. > > -- > Jarrod Millman > Computational Infrastructure for Research Labs > 10 Giannini Hall, UC Berkeley > phone: 510.643.4014http://cirl.berkeley.edu/ > _______________________________________________ > Numpy-discussion mailing list > [EMAIL PROTECTED]://projects.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
