"++imanshu: > Wouldn't it be nicer to have 'in' return values (or keys) for both > arrays and dictionaries. Arrays and Dictionaries looked so similar in > Python until I learned this difference.
D language works like you say, and it's awful. With a key you can find its value, but given only the value you can't find its key. Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list