[sqlalchemy] Re: problem with Numeric type and mysqll

2007-09-07 Thread jason kirtland
remi jolin wrote: Hello, I have the following definition (using Elixir) class Manifestation(Entity): has_field('price', Numeric) The DB is mysql and something like m = Manifestation(price=10.0) then when accessing to this manifestation again (after flush, clear, etc...) I have

[sqlalchemy] Re: problem with Numeric type and mysqll

2007-09-07 Thread Michael Bayer
numeric types are going to come out using decimal.Decimal objects in 0.4 but not exactly sure whats happening there...do a repr(m.price). On Sep 7, 2007, at 12:57 PM, remi jolin wrote: Hello, I have the following definition (using Elixir) class Manifestation(Entity):

[sqlalchemy] Re: problem with Numeric type and mysqll

2007-09-07 Thread remi jolin
le 07.09.2007 19:47 remi jolin a écrit: le 07.09.2007 19:27 Michael Bayer a écrit: numeric types are going to come out using decimal.Decimal objects in 0.4 but not exactly sure whats happening there...do a repr(m.price). it gives Decimal(10.00) and I'm using SA 0.3.10 Is

[sqlalchemy] Re: problem with Numeric type and mysqll

2007-09-07 Thread jason kirtland
remi jolin wrote: le 07.09.2007 19:47 remi jolin a écrit: le 07.09.2007 19:27 Michael Bayer a écrit: numeric types are going to come out using decimal.Decimal objects in 0.4 but not exactly sure whats happening there...do a repr(m.price). it gives Decimal(10.00) and I'm