"As far as I know, there is no programming language which treats scalars like ints as if they were vectors of length 1"
Actually, Matlab does: >> length(5) ans = 1 >> -- View this message in context: http://www.nabble.com/len%28%29-should-always-return-something-tp24639361p24654358.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list