On Tue, Dec 22, 2009 at 8:56 AM, John <j...@nurfuerspam.de> wrote:

> > another thread can remove the key prior to the has_key call; or perhaps
> >  edges isn't a real dictionary?
> >
>
> of course. But unless there is a way of using threading without being aware
> of
> it, this is not the case. Also, edges is definitely a dict (has been
> declared
> some lines before, and no obscure functions have been called in the
> meantime,
> just some adding to edges). Python would also fail on edges.keys() if edges
> wasn't a dict...
>
>
> cheers,
> john
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Perhaps e doesn't have a consistent hash value.

--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to