On Fri, Apr 1, 2011 at 18:25, Navin Kabra <navin.ka...@gmail.com> wrote: > With Python 2.6.5 (on ubuntu) I get even more bizarre behavior: >>>> foo=(1,[2,3,4]) >>>> foo[1]+=6 > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > TypeError: 'int' object is not iterable >>>> foo > (1, [8, 9, 10]) > Couldn't reproduce this. Noufal's example "worked" though.
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 and Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) on Ubuntu 10.04 -- http://about.me/rosh _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers