Re: Missing typecasters [was: Decimal]

Daniele Varrazzo <[email protected]> Wed, 14 Apr 2010 01:11:23 +0100
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On Tue, Apr 13, 2010 at 11:44 PM, Daniele Varrazzo
<[email protected]> wrote:
> On Tue, Apr 13, 2010 at 11:24 PM, Daniele Varrazzo
> <[email protected]> wrote:
>
>> Federico, I see DECIMAL is not imported in the extensions module. I'll
>> check if there are other missing types and provide a patch for them.
>
> Other than DECIMAL, the time-related typecaster are missing: PYDATE,
> PYDATETIME, PYINTERVAL, PYTIME (and MX equivalent).
>
> Should they be imported too, if available?

A few patches are available in my fix22 branch. Please check that MX*
typecasters are imported correctly: I don't have mx installed here so
they are not compiled/imported in _psycopg.

-- Daniele