Against PEP 240

Clark C . Evans cce at clarkevans.com
Thu May 31 00:43:08 EDT 2001


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.

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.
|

>From what I understand, this is only true if the author
explicitly states so; the cygwin distribution has this
property beacuse the copyright owner has made an exception.

Best,

Clark





More information about the Python-list mailing list