On Sat, May 14, 2005 at 02:57:53PM +0200, Leopold Toetsch wrote:
: If we want some interoperbility with Python dicts, hashing will not be
: done on ids but on the hash function of the type.
Which Perl could default to id.
Larry
Autrijus Tang <[EMAIL PROTECTED]> wrote:
> What does unboxed values return for their "id", though?
> 3 =:= 3; # always true?
> 3.id ~~ 3.id; # ditto?
Maybe true or not, that's highly implementation dependent. I'd not touch
these internals:
$ python
Python 2.4 [...]
>>> id(2) ==