>> 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.
Martin van Loewis ported postgresql to python 3 and of course the python 3 distribution comes with sqlite. That's already two, actually the two that I ever would want to use :) So I'll go ahead and play with 2to3 more. I haven't thought about the unicode-only issue though. Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown ------------------------------------------------------------------------------ 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