[Python-Dev] 2.2a3 error messages
Guido van Rossum
guido@python.org
Tue, 11 Sep 2001 08:54:54 -0400
> maybe it's just me, but I just spent five minutes trying to figure
> out why an innocent-looking line of code resulted in an "iter() of
> non-sequence" type error.
>
> I finally ran it under 2.1, and immediately realized what was
> wrong.
>
> is there any chance of getting the old, far more helpful "unpack
> non-sequence" and "loop over non-sequence" error messages
> back before 2.2 final?
Can you show an example of what went wrong? Is it just the
distinction between "unpack" vs. "loop over"? I would like to make
the errors more helpful, but I'm not sure where to start.
--Guido van Rossum (home page: http://www.python.org/~guido/)