[Zope-dev] Python 1.5.2b2 missing PySequence_In

Martijn Pieters mj@antraciet.nl
Wed, 17 Mar 1999 11:20:15 +0100


At 02:00 17/03/99 , Brad Clements wrote:
>Hi folks,
>
>I'm working on embedding zope in a custom win32 app, based on the 
>latest python DLL.
>
>Looks like beta 2 is missing PySequence_In and PyEval_CallObject 
>(deprecated), but this is causing problems with some existing .pyd
>
>Unfortunately I don't know which .pyd is the problem. Any suggestions 
>on how to find it and correct it?
>
>Not sure if Guido is going to put those functions back..

A search through the 1.10.2 source shows:

Searching for: PySequence_In
lib\python\DocumentTemplate\cDocumentTemplate.c(874):
    isIn=PySequence_In(__roles__,role);
Found 1 occurrence(s) in 1 file(s)

Searching for: PyEval_CallObject
lib\Components\ExtensionClass\ExtensionClass.c(1336):
    UNLESS_ASSIGN(args,PyEval_CallObject(args,NULL)) return NULL;
lib\Components\ExtensionClass\ExtensionClass.c(1352):
    UNLESS_ASSIGN(state,PyEval_CallObject(state,NULL)) goto err;
Found 2 occurrence(s) in 1 file(s)

A search through the latest checkout from the public CVS gives the same
results.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------