On Thu, Jul 30, 2009 at 09:09:25AM -0400, Stef Telford wrote: > My hack currently consists of ripping out > the Decimal stuff mostly from col.py as well as the two line change > inside psycopg2 .. and that's where I think we may have a problem. The > Psycopg2 guys are probably -not- interested in changing over from > Decimal to gmpy, even for speed. Which makes me wonder.. should I > maintain these patches for myself ? > > Let me re-ask that question; is there any point in submitting patches > to use gmpy to you if to get things working requires a patched psycopg2
Can the patching be done on the fly (monkey-patching)? Even better - is there an adapter that can be unregister and reregister to gmpy? This way you can have a configuration flag for SQLObject that replaces Decimal with gmpy; SQLObject with this configuration flag reregisters the adaptor for you. Oleg. -- Oleg Broytmann http://phd.pp.ru/ p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss