subclassing int and accessing the value

Mark McEahern marklists at mceahern.com
Mon Jul 8 16:35:44 EDT 2002


> Yes, I need to give this some more thought. If I actually end up using
> this, it will need to interface with a database (MySQL or PostgreSQL)
> so I need something that will be easy to back and forth between the
> SQL representation and the Python representation.

I use FixedPoint instances with PostgreSQL via pyPgSQL and that works quite
well.

Aahz has put up a copy of Tim Peters' FixedPoint here:

  http://starship.python.net/crew/aahz/FixedPoint.py

Cheers,

// mark

-






More information about the Python-list mailing list