From: Peter B. <bri...@ma...> - 2001-08-12 23:28:24
|
Samuele: > Right, this was long standing bug, but has already been fixed in 2.1 codebase. Hmm, is it possible that this bug fix has created a new bug in 2.1 that I ran into a few days ago? I reported it and it's now listed as bug #449956. Best, Peter On Mon, Aug 13, 2001 at 12:39:53AM +0200, Samuele Pedroni wrote: > [Peter Brinkmann] > > ---------------------------------------------------- > > import java > > > > class spam(java.lang.Object): > > def hashCode(self): > > print 'spam' > > return java.lang.Object.hashCode(self) > > > > class eggs(spam): > > def hashCode(self): > > print 'eggs' > > return spam.hashCode(self) > > > > s=spam() > > e=eggs() > > > > print s.hashCode() # this one works > > print e.hashCode() # here we get stuck > > ---------------------------------------------------- > > > > This shouldn't be happening, right? > Right, this was long standing bug, but has already been fixed in 2.1 codebase. > > regards, Samuele Pedroni. > |