[Zope] Why ZMySQLDA dies with KeyError: unhandled...

Mike Pelletier mike@compar.com
Mon, 8 Mar 1999 11:33:34 -0500 (EST)


On Mon, 8 Mar 1999, Jordan B. Baker wrote:

> The other thing is that I doubt it handles double long integers since
> AFAIK Python doesn't handle these without an extension module.

   It sure does:

Python 1.5.2b1 (#2, Jan 18 1999, 11:01:20)  [GCC 2.7.2.1] on freebsd3
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> long("99999999999999999")
99999999999999999L
>>> 9999999999999L ** 2
99999999999980000000000001L

    Spiffy, eh?  I'm pretty sure it's arbritrary-precision, which means you can
make numbers as large as you have memory for.  Or is this not what you
mean?

Mike.

-- 
       ---              | Mike Pelletier             Work: 519-746-1607
        /opeware!       | Software Developer         Home: 519-725-7710
       ---              | mike@zopeware.com           Fax: 519-746-7566
http://www.zopeware.com | Zopeware is not endorsed by Digital Creations