[Python-Dev] [Python 2.4] PyInt_FromLong returning NULL (original) (raw)
Andreas Jung lists at andreas-jung.com
Tue Dec 7 18:24:31 CET 2004
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Lib/test test_shutil.py, 1.10, 1.11
- Next message: [Python-Dev] [Python 2.4] PyInt_FromLong returning NULL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 such a "stupid" call return NULL in a reproducable way?
-aj
- Previous message: [Python-Dev] Re: [Python-checkins] python/dist/src/Lib/test test_shutil.py, 1.10, 1.11
- Next message: [Python-Dev] [Python 2.4] PyInt_FromLong returning NULL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]