[Python-bugs-list] [ python-Bugs-460686 ] iter() over non-sequence message (original) (raw)

noreply@sourceforge.net noreply@sourceforge.net
Thu, 18 Oct 2001 13:12:55 -0700


Bugs item #460686, was opened at 2001-09-11 05:57 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=460686&group_id=5470

Category: Python Interpreter Core Group: Python 2.2

Status: Closed Resolution: Fixed Priority: 5 Submitted By: Guido van Rossum (gvanrossum) Assigned to: Tim Peters (timone) Summary: iter() over non-sequence message

Initial Comment: Effbot writes:

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?


Comment By: Tim Peters (timone) Date: 2001-10-18 13:12

Message: Logged In: YES user_id=31435

Closing as Fixed, because I restored "unpack non-sequence" was some time ago, and the generic msg was changed to "iteration over non-sequence" at the same time.


You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=460686&group_id=5470