[Python-Dev] Decimal.py in sandbox
Batista, Facundo
FBatista at uniFON.com.ar
Wed Oct 29 04:03:21 EST 2003
More information about the Python-Dev mailing list
Wed Oct 29 04:03:21 EST 2003
- Previous message: [Python-Dev] Py_TPFLAGS_HEAPTYPE, what's its real meaning ?
- Next message: [Python-Dev] Decimal.py in sandbox
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Py_TPFLAGS_HEAPTYPE, what's its real meaning ?
- Next message: [Python-Dev] Decimal.py in sandbox
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list