[orm-devel] Numeric/float prob committing (was: Introduction, thanks and a couple of comments on the 0.7 release)

Mike Watkins orm-devel@mailman.tux4web.de
Fri, 06 Dec 2002 09:33:33 -0800


At 09:20 AM 12/6/2002 -0800, you wrote:
>I think I found the problem...
>in orm/columns.py at line 547:
>
># float point quantities
>float, floatColumn = _float, _floatColumn
>
>The "float" above must be a Python reserved word, which is resulting in 
>the orm.column._float instance being committed to the database.

Yup, that's certainly it. float is a built-in type.
 >>> float
<type 'float'>

Good sleuthing!