[SciPy-user] Re: [SciPy-dev] MCMC, Kalman Filtering, AI for SciPy?

Fernando Perez Fernando.Perez at colorado.edu
Tue Sep 28 15:27:03 EDT 2004


Pearu Peterson schrieb:

> On Tue, 28 Sep 2004, Fernando Perez wrote:

>>But hopefully this can be fixed at some point, I'm willing to believe it's 
>>possible to somehow work things out.  One option might be for scipy, upon 
>>import, to inject its own help() wrapper into __builtins__.  This wrapper 
>>could then detect whether it's being called with a string, in which case it 
>>could try to avoid the delayed import things which break the normal help() 
>>calls, or if it's called with an object name, case in which throwing a 
>>NameError for undefined things is OK.  I know this is only a hand-wavy 
>>sketch, but I just am not quite willing to swallow that a solution is 
>>'impossible', knowing the flexibility of python.  But since I can't really 
>>offer code right now, I won't complain either ;)
> 
> 
> This issue is now fixed in CVS. Btw, ppimport hooks actually work very 
> similar to what you describe above ;-)

Wow.  How's that for speedy service...

I guess it was worth complaining a bit :)

Best, and many thanks!

f




More information about the SciPy-User mailing list