En Mon, 23 Apr 2007 12:46:13 -0300, Neil Cerutti <[EMAIL PROTECTED]> escribió:
> On 2007-04-23, Chris Cioffi <[EMAIL PROTECTED]> wrote: >> On 23 Apr 2007 17:19:15 +0200, Neil Cerutti <[EMAIL PROTECTED]> >> wrote: >>> So the question becomes: Why do Python dictionaries require >>> keys to be of an immutable type? >> >> Or: Because. ;-) > > Heh, heh. I was wondering, if we dig deep enough, wether we'll > end up back at, "just an optimization," as the reason. Fortran guys could make programs for a long time having arrays as their ONLY structured type, so having a built in dictionary is not just an optimization, it's a luxury! :) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list