[Pythonmac-SIG] python2.4 crashes (bus error)
Chris Fonnesbeck
fonnesbeck at gmail.com
Tue Oct 25 15:14:42 CEST 2005
On 10/25/05, Piet van Oostrum <piet at cs.uu.nl> wrote:
> >>>>> Chris Fonnesbeck <fonnesbeck at gmail.com> (CF) wrote:
>
> >CF> # Loop over models
> >CF> for model in models:
> ...
> >CF> # Initialize sampler
> >CF> sampler = models[model](county)
>
> Maybe this has nothing to do with your crash, but I saw something strange
> in your code: model is an element of models, not an index. So unless you
> have something special, that code might not be what is intended.
>
Actually, models is a dictionary, so the iterator returns the keys.
Fixed the problem; it was f2py related. Sorry to bother everyone.
--
Chris Fonnesbeck
Atlanta, GA
More information about the Pythonmac-SIG
mailing list