[py-dev] Re: Error with py.test and scipy ...

Patrick K. O'Brien pobrien at orbtech.com
Fri Apr 8 00:45:54 MEST 2005


holger krekel wrote:
> On Thu, Apr 07, 2005 at 14:54 -0700, Robert Kern wrote:
>>
>>Scipy uses a lazy importing scheme implemented in scipy_base.ppimport. 
> 
> 
> import magic's interfering with each other ... this had to happen 
> sooner or later.  And we've had Valentino having problems with 
> twisted's nevow already which uses crazy import hacks ... welcome
> in scary traceback land.  This strongly suggests to me that py.test 
> will have to try harder to reduce its import magic.  Luckily, i have 
> an alternative approach which removes the need to have a custom 
> import hook for the py lib.  I am checking that into the 
> collect-branch (which will soon get merged, didn't i mention that
> last week?)

Count Schevo as yet another project that does its share of import magic.
 We've managed to keep our magic compatible with py.test's magic and
nevow's magic, and I'd hate to lose that.

-- 
Patrick K. O'Brien
Orbtech    http://www.orbtech.com
Schevo     http://www.schevo.org
Pypersyst  http://www.pypersyst.org



More information about the py-dev mailing list