scottdavid_daniels | Wed, 07 May 2008 00:27:00 GMT |
john_marshall | Wed, 07 May 2008 00:28:00 GMT |
christopher_subich | Wed, 07 May 2008 00:29:00 GMT |
scottdavid_daniels | Wed, 07 May 2008 00:30:00 GMT |
fredrik_lundh | Wed, 07 May 2008 00:31:00 GMT |
raymond_hettinger | Wed, 07 May 2008 00:32:00 GMT |
timpeters | Wed, 07 May 2008 00:33:00 GMT |
timpeters | Wed, 07 May 2008 00:34:00 GMT |
steven_bethard | Wed, 07 May 2008 00:35:00 GMT |
how to build hash table in python?any suggestion?thanks.....
ZDnet features an article about the had patent at AltNethttp://news.zdnet.com/2100-9588_22-5534087.html . Apparantly this issueplays already for some time, now the p2p companies are threatened, becuasethey use hashing to recognize files.As far as I know hasing is a very old technique used to qui...
how do i create a hash of hash similar to perl using dict in python$x{$y}{z}=$zthanks.--RR...
Right, and I was trying to say that hash(wx.Colour()) doesn't "workright" likely because __hash__ isn't defined on wx.Colour, but that youmay be able to replace your wx.Colour instances with tuples. - JosiahJeffrey Barish <jeff_barish (AT) earthlink (DOT) netwrote:Matching colors is...
Consider the attached program. my system (XP), the first print is True(bgColor == wx.Colour(49, 106, 197)) but the second statement(hash(bgColor) == hash(wx.Colour(49, 106, 197))) is False. Aren't the hashvalues supposed to be equal when the items are equal?...
Hi,I've been using wxPython at work as part of rewriting a lot of our user interface and just wanted to say firstly; thanks to all the developers! It's a really nice package, especially since a lot of our legacy code uses wxWidgets.However, I recently ran into what I think might be a p...
Robert Kern wrote:> I don't know the details [...]Neither do I, but...> I'm also willing to bet that the patent won't> hold up in court because there's quite a lot of prior art with respect> to cryptographic hashes, too.The problem with that is that someone needs...
Tim Churches a crit :> Provided other countries don't recognise software and business method> patents, the litigation will be confined within US borders, where> resources can be productivelt spent making television dramas about> attractive young patent attorneys and plodding, tr...
Tim Churches schreef:> And I agree 100% with Alex Martelli - Europe and other countries must> reject software, algorithmic and business method patents and thus create> a powerhouse of innovation. let the US and fellow-travellers stew in> their own juice - they will become powerhouses...
Hi,If I retrieve the hash of an integer, will it always return the samevalue across platforms?This reason I ask is that I want to produce a sequence of pseudo randomnumbers using the random module, that I can re-create later on. So I'llneed to store the seed value, but Random.seed takes a h...
Hi,If I retrieve the hash of an integer, will it always return the samevalue across platforms?This reason I ask is that I want to produce a sequence of pseudo randomnumbers using the random module, that I can re-create later on. So I'llneed to store the seed value, but Random.seed takes a h...
Hello,Is there any way that I can find the hash value of a class from aninstance?... pass... 10782976 12251904 What I want is a function that returns the value of 'hash(A)':> a.getHashOfClass()10782976Is this possible?/Joakim...
Hello,Is there any way that I can find the hash value of a class from aninstance?>>> class A:... pass...>>> a = A()>>> hash(A)10782976>>> hash(a)12251904>>What I want is a function that returns the value of 'hash(A)':> a.getHashOfClass()1078...
Do people often use hash() on built-in types? What do you find it usefulfor?How about on custom classes? Can anyone give me some good tips or hintsfor writing and using hash functions in Python?Thank you,Steven....
Do people often use hash() on built-in types? What do you find it usefulfor?How about on custom classes? Can anyone give me some good tips or hintsfor writing and using hash functions in Python?Thank you,--Steven....