On Mon, Jan 26, 2009 at 04:27:47PM -0800, Daniel Fetchinson wrote:
> I've started to play with 2to3 and sqlobject 0.10.4. I haven't really
> converted anything yet, just noted that the following 2 issues need to
> be changed before a conversion can be successful (both are trivial):
> 
> RefactoringTool: ### In file col.py ###
> RefactoringTool: Line 357: could not convert: raise '@@: figure out
> the exception for a delete'
> RefactoringTool: Python 3 does not support string exceptions
> RefactoringTool: Line 978: could not convert: raise "Enum type is not 
> supported"
> RefactoringTool: Python 3 does not support string exceptions
> 
> I'd say a simple Exception( '@@: figure out the exception for a delete' ) and
> Exception( 'Enum type is not supported' ) fix will be good enough.
> 
> I'll report on any further progress I make on porting sqlobject to python 3.

   Thank you!. That's easy to fix. Harder is to get Python DB API drivers
- what DB API drivers are compiled for Py3k? sqlite? Even harder would be
to convert SO to unicode-only.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to