Against PEP 240

Roman Suzi rnd at onego.ru
Wed May 30 23:55:41 EDT 2001


On Wed, 30 May 2001, Clark C . Evans wrote:

>On Tue, May 29, 2001 at 11:44:38PM +0200, Alex Martelli wrote:
>|
>| > If we're forced to use 'f' or 'F' I don't mind. We can
>| > do double precision in the same way ie use 'D'.
>|
>| 7.35F, or whatever, can specify floating-point with its little
>| tasteful decoration.  Just leave plain 7.35 to the masses who
>| don't WANT it to actually mean 7.3499999999999996, or whatever,
>| but 7.35 exactly...
>
>+1
>
>Please implement this change.  I can't tell you how many
>times I'd had to fix financial reports that used doubles.

Rounding and formating is a MUST in anything nrealy financial ;-)
So, lets not put additional burden on the Python and
just put "%11.2f" % round(var, 2) were due.

>On Wed, May 30, 2001 at 11:57:04AM +0400, Oleg Broytmann wrote:
>| On Tue, 29 May 2001, Alex Martelli wrote:
>| > OK, but gmpy doesn't come with Python and no doubt never will
>| > (as it relies on GMP, which is LGPL'd at least).
>|
>| There is no problem including gmpy into standard
>| distribution. There is already mpz that relies on the
>| same GMP. No problem.  You cannot distribute GPL'd binaries
>| without source code. There is no problem distributing
>| Python source code that relies on GPL'd code.
>|
>

Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Thursday, May 31, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "You have to be sharp to be on the cutting edge." _/





More information about the Python-list mailing list