Steven D'Aprano <st...@remove-this-cybersource.com.au> wrote:

> You can hash numbers no matter how big they are.

> >>> hash(float('inf'))
> 314159

Cute.  And hash(float('-inf')) is -271828...


-- 
Thomas Bellman,   Lysator Computer Club,   Linköping University,  Sweden
"God is real, but Jesus is an integer."      !  bellman @ lysator.liu.se
                                             !  Make Love -- Nicht Wahr!
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to