[Python-Dev] Re: PEP239 (Rational Numbers) Reference Implementation and new issues

Thomas Wouters thomas@xs4all.net
Tue, 8 Oct 2002 15:46:10 +0200


On Tue, Oct 08, 2002 at 02:51:49PM +0200, M.-A. Lemburg wrote:

> What's so hard about rat(2,3) ?

I have to agree with MAL. I know, rationally, why a rational literal (or is
it literal rational ?) is desirable, but it feels like clutter and all of
the proposed syntactic solutions strike me as bad ideas. I'd much rather
have the above (which deals with everyone else's favorite data type and
their requests to have builtin support for it at the same time) than a
not-quite-perfect way to spell a rational literally.

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!