Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also available in python: http://www.google.com/codesearch?hl=en&lr=&q=int\%28...

Only 7 matches though. 1 false positive (print(random.random()) in python itself, and no real bugs in projects that I recognize.



A minor tweak to your search to fix the false positives: http://www.google.com/codesearch?q=[^\w]int\%28random\.rando...



heh. This one is my favourite:

r = str(int(random.random()))

[http://www.google.com/codesearch/p?hl=en&sa=N&cd=4&#...]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: