>> Isn't that by definition? Number turns to float, INT to INT? > hmm, what definition? there is allways a mapping sql - python And I'm quite sure that the mapping from number is allways to float. So it's "by design" rather than "by definition", sorry.