Re: Traceback in Proxies.py
Magnus Lie Hetland <[email protected]> Thu, 3 Oct 2002 02:39:07 +0200
| Newsgroups | gmane.comp.python.anygui.devel |
|---|---|
| Message-ID | <[email protected]> |
Kalle Svensson <[email protected]>: [snip] > File "/usr/lib/python2.1/site-packages/anygui/Proxies.py", line 110, in push > for prop in state: > TypeError: loop over non-sequence Ah. It seems we have the problem right here. Iteration over dictionaries is a 2.2-thing, and we support (and you're using) Python 2.1. I've changed this to for prop in state.keys(): didn't have time to do a thorough test, though :] I'm sure we can change to 2.2 in the not-too-distant future, but for now we've publicly announced 2.1 support, so... -- Magnus Lie Hetland Practical Python The Anygui Project http://hetland.org http://ppython.com http://anygui.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf