[Kevin Jacobs] >>> Anyhow, the next big thing I want to do is to make Decimal instances >>> immutable like other Python numeric types, so they can be used as >>> hash keys, so common values can be re-used, and some of the code can >>> be simplified. [Tim] >> Offhand I didn't see anything in the code that mutates any inputs, >> so I expect it's at worst close. But this kind of discussion should >> be in public, so others can jump in too (especially Eric!). [Kevin] > I agree 100%. Does anyone else have feelings for or against having > mutable Decimal instances? In the mean time, I will prepare a patch > to do this so we can evaluate the practical effects on the code. Oh yes, they have to be immutable, meaning that no public API operation mutates a Decimal in a user-visible way.
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