Python (and me) getting confused finding keys

John john at nurfuerspam.de
Tue Dec 22 11:33:04 EST 2009


Hi there,

I have a rather lengthy program that troubles me for quite some time. After 
some debugging, I arrived at the following assertion error:

for e in edges.keys():
	assert edges.has_key(e)

Oops!? Is there ANY way that something like this can possibly happen?

Cheers,
John



More information about the Python-list mailing list