[Bob Ippolito] #- Make hash(Decimal('123.1')) == hash(Decimal('123.1')) .. there is no I'm pretty sure that those two hash will return the same value, as long have the same argument (?). #- hash(float(1.0)) == hash(Decimal(1)) comes for free, because #- hash(float(1.0)) == hash(1). For the few other non-integer numbers #- that can be accurately represented as floating point, it might make #- sense to keep the same property? Though I suppose that is pretty #- what-the-heck-does-C-do specific, so I wouldn't blame anyone if this #- property couldn't be maintained. OK, so I won't promise it. . Facundo
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