This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/11482] Side effect of set print address on python API


------- Additional Comments From tromey at redhat dot com  2010-05-12 20:21 -------
(In reply to comment #16)
 
> Tom what do you think?

I think we should go with identity hashing.
We can't do better, since some values are mutable.
In specific cases, python users can always write wrapper objects
with some other hash function.

The current patch (as we discussed on irc) is not ok, though, because
it needlessly creates a new object when computing the hash.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11482

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]