Re: Problem with python compile

From: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
To: Bernhard Herzog <bh(at)intevation(dot)de>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Problem with python compile
Date: 2002-03-26 01:52:28
Message-ID: 20020326015229.300511AFA@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On March 25, 2002 08:36 am, Bernhard Herzog wrote:
> "D'Arcy J.M. Cain" <darcy(at)druid(dot)net> writes:
> > On March 25, 2002 06:18 am, Bernhard Herzog wrote:
> > > #if PY_VERSION_HEX < 0x01060000
> > > #define PyObject_Del(op) PyMem_Del((op))
> > > #endif
> >
> > I will do that but I wonder what is wrong with the macro?
>
> Because the macros shouldn't be used in extension modules. From
> http://python.org/doc/current/api/memoryInterface.html:

Right you are. Changes submitted.

--
D'Arcy J.M. Cain <darcy(at){druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tim Barnard 2002-03-26 15:35:26 Re: libpqxx has HTML docs
Previous Message Jeroen T. Vermeulen 2002-03-26 00:24:02 libpqxx has HTML docs