Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

Next:From: Tim BarnardDate: 2002-03-26 15:35:26
Subject: Re: libpqxx has HTML docs
Previous:From: Jeroen T. VermeulenDate: 2002-03-26 00:24:02
Subject: libpqxx has HTML docs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group