Peter Schuller schrieb: > Btw, I also note that set_decimal effectively doesn't work (with and > without my patch) because the type casting produces a Decimal > regardless of any invocation of set_decimal (which only affects the > behavior of pgmodule.c). > > Is this intentional, or a bug? Is set_decimal() supposed a public > part of the interface?
set_decimal() is actually not port of the public interface, it's only an internal mechanism to communicate the decimal type used (which can be float in older Py versions) to pgmodule.c. But yes, maybe we should make the Decimal type (and similarly, the DateTime type) changeable from outside as well. -- Christoph _______________________________________________ PyGreSQL mailing list [email protected] http://mailman.vex.net/mailman/listinfo/pygresql
