[pypy-svn] r74429 - pypy/trunk/pypy/module/cpyext
fijal at codespeak.net
fijal at codespeak.net
Fri May 7 01:15:25 CEST 2010
Author: fijal
Date: Fri May 7 01:15:24 2010
New Revision: 74429
Modified:
pypy/trunk/pypy/module/cpyext/api.py
pypy/trunk/pypy/module/cpyext/pyobject.py
Log:
Nobody ever raises this exception, remove it alltogether
Modified: pypy/trunk/pypy/module/cpyext/api.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/api.py (original)
+++ pypy/trunk/pypy/module/cpyext/api.py Fri May 7 01:15:24 2010
@@ -401,7 +401,6 @@
def wrapper(*args):
from pypy.module.cpyext.pyobject import make_ref, from_ref
from pypy.module.cpyext.pyobject import BorrowPair
- from pypy.module.cpyext.pyobject import NullPointerException
# we hope that malloc removal removes the newtuple() that is
# inserted exactly here by the varargs specializer
llop.gc_stack_bottom(lltype.Void) # marker for trackgcroot.py
Modified: pypy/trunk/pypy/module/cpyext/pyobject.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/pyobject.py (original)
+++ pypy/trunk/pypy/module/cpyext/pyobject.py Fri May 7 01:15:24 2010
@@ -178,9 +178,6 @@
Py_DecRef(self.space, w_obj)
self.borrow_mapping = {}
-class NullPointerException(Exception):
- pass
-
class InvalidPointerException(Exception):
pass
More information about the Pypy-commit
mailing list