This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11482] Side effect of set print address on python API
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 12 May 2010 20:21:32 -0000
- Subject: [Bug python/11482] Side effect of set print address on python API
- References: <20100409172931.11482.michel.metzger@st.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.