On Thu, Mar 15, 2007 at 02:18:25AM -0600, William Volkman wrote:
> Again the DB has no problem with the above.  However with the land-mines
> now lade by SQLObject with it's (IMO un-pythonic) strict data typing
> the effort to convert seems to not be worth it.

   This has been discussed in the list many times. We decided to be
stricter about data types long ago. No need to use words like "land mines".
   There is nothing unpythonic in this. Python doesn't allow you to do such
operations:

2 + '2'
datetime("1984", "12", "21")

   You must do explicit conversion, either str(2) + '2' or 2 + int('2'). And
this is what SQLObject now asks - to do explicit conversion in the program.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to