Hello!
On Fri, Oct 06, 2006 at 07:39:27PM +0400, Oleg Broytmann wrote:
> if 'factory' in kw:
> factory = popKey(kw, 'factory')
> if isinstance(factory, basestring):
> factory = globals()[factory]
> if not callable(factory):
> raise TypeError
> opts['factory'] = factory
I implemented it this way. Thank you for the inspiration! I rewrote
test_select.py:test_select_RLIKE(). I also added test_sqlite_factory.py.
Committed in the revisions 1992-1993.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss