From: SourceForge.net <no...@so...> - 2003-02-27 13:25:28
|
Bugs item #694358, was opened at 2003-02-27 14:34 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=694358&group_id=16528 Category: PgNumeric Group: None Status: Open Resolution: None Priority: 5 Submitted By: Gerhard Häring (ghaering) Assigned to: Gerhard Häring (ghaering) Summary: Buggy __radd__ in PgNumeric Initial Comment: [vivek kumar sent this to DB-SIG] hi all, I am sending this mail at this address coz i was unable to find some address for reporting possible bug in pyPgSQL and the +pyPgSQL project page was not opening (slow net speed). This may be a bug left in the pyPgSQL version 2.3. When i try to add some numeric data returned by query (PgNumeric) then it +gives me name error (global __add__ not found). The actual code for the __radd__ in PgNumeric was def __radd__(self,other): return __add__(self,other) A possible work around (it worked for me) may be def __radd__(self,other): return self.__add__(other) regards vivek kumar ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=694358&group_id=16528 |