Benjamin Peterson wrote: > 2012/1/5 Steven D'Aprano <steve at pearwood.info>: [...] >> There's nothing obscure about directly testing the hash. That's about as far >> from obscure as it is possible to get: you are directly testing the presence >> of a feature by testing the feature. > > It's obscure because hash('') != 0 doesn't necessarily mean the hashes > are randomized. A different hashing algorithm could be in effect. Fair point, but I didn't actually suggest testing hash('') != 0, that was Nick's suggestion, which he's since withdrawn. -- Steven
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4