Python 2.4 / built-ins

Python 2.4 / built-ins

Post by Harald Mas » Sun, 21 Nov 2004 03:55:02


after reading the announcement I also read the "highlights" within
http://www.yqcomputer.com/

Under headline

New or upgraded built-ins

there is

decimal - a new numeric type that allows for the accurate representation of
floating point numbers (avoiding the problems of binary floating point)
(PEP 327)


And I am very happy about this and eagerly looking forward to. But: as much
as I understand from the PEP and the discussion on py-dev, it will be a
module within the standard library.

And not something built in Python -- at the moment.

Am I wrong with this information?

Harald
 
 
 

Python 2.4 / built-ins

Post by Batista, F » Sun, 21 Nov 2004 04:03:52

[Harald Massa]

#- after reading the announcement I also read the "highlights" within
#- http://www.yqcomputer.com/
#-
#- Under headline
#-
#- New or upgraded built-ins
#-
#- there is
#-
#- decimal - a new numeric type that allows for the accurate
#- representation of
#- floating point numbers (avoiding the problems of binary
#- floating point)
#- (PEP 327)
#- ...
#- Am I wrong with this information?

You're right, decimal belongs to the standard library.

Thanks for pointing it. I'll follow this until is fixed.

. Facundo