Aahz wrote: #- > >>> myDecimal = Decimal(5) #- > >>> myfloat = 3.0 #- > >>> mywhat = myDecimal + myfloat #- > >>> isinstance(mywhat, float) #- > True #- #- Absolutely not. No way, no how, no time. -1000 :) #- are inexactly represented in Python. My opinion is that conversion #- between float and Decimal should always be explicit (and my #- recollection #- is that Tim Peters agrees). I'm not decided for any option. I just want (it will be nice) the group to decant either way. There's some controversial about this. Anyway, I'll explicit the options in the pre-PEP, and we all will take a side, :) . 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