x=y="some string" And we know that python interprets from left to right. so why it doesnt raise a name error here saying name 'y' is not defined?
another example: (1,2) + 3, here, python raises a TypeError "can only concatenate tuple(not int) to tuple" but we know (3,) is a tuple as seen by following: t=3, type(t) <type 'tuple'> Arent both of this contradicting? -- Chetan H Harjani
-- http://mail.python.org/mailman/listinfo/python-list