In article <[EMAIL PROTECTED]>, Mike Meyer <[EMAIL PROTECTED]> wrote: >Donn Cave <[EMAIL PROTECTED]> writes: >> >> For me, conceptually, if an object can't be accessed >> sequentially, then it can't be mapped to a sequence. > >So you're saying that for should implicitly invoke list (or maybe >iter) on any object that it's passed that's not a list or iterator?
for does in fact implicitly invoke iter() on its loop expression. -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "Don't listen to schmucks on USENET when making legal decisions. Hire yourself a competent schmuck." --USENET schmuck (aka Robert Kern) -- http://mail.python.org/mailman/listinfo/python-list