Re: [Python-Dev] [Python 2.4] PyInt_FromLong returning NULL

2004-12-07 Thread Andreas Jung
Sorry, false alarm :-( There assignment of the NULL occurs in the if-clause of the corresponding code (I have overseen the ASSIGN call): if (! PyInt_Check(p)) { if (PyDict_Check(p)) {

[Python-Dev] [Python 2.4] PyInt_FromLong returning NULL

2004-12-07 Thread Andreas Jung
While using Zope 2.7 with Python 2.4 we discovered some strange behaviour of the security machinery. I could track this down to some Zope code in cAccessControl.c where an Unauthorized exception is raised because of a call to PyInt_FromLong(1) which returns NULL. What could be the reason that su

Re: [Python-Dev] Python 2.4 and Zope 2.7.X

2004-12-05 Thread Andreas Jung
--On Sonntag, 5. Dezember 2004 10:30 Uhr -0800 Dennis Allison <[EMAIL PROTECTED]> wrote: A report on the [EMAIL PROTECTED] list suggests that Python 2.4 is not fully compatible with Zope 2.7.3. Has any tested against Zope? To which report do you refer? The only thing I mentioned is that there h