[pypy-svn] r74515 - pypy/trunk/pypy/module/cpyext
afa at codespeak.net
afa at codespeak.net
Sat May 15 10:12:13 CEST 2010
Author: afa
Date: Sat May 15 10:12:11 2010
New Revision: 74515
Modified:
pypy/trunk/pypy/module/cpyext/stubs.py
Log:
These functions are already implemented
Modified: pypy/trunk/pypy/module/cpyext/stubs.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/stubs.py (original)
+++ pypy/trunk/pypy/module/cpyext/stubs.py Sat May 15 10:12:11 2010
@@ -1164,12 +1164,6 @@
Use PyObject_Repr() or PyOS_double_to_string() instead."""
raise NotImplementedError
- at cpython_api([PyObject], rffi.INT_real, error=CANNOT_FAIL)
-def PyFunction_Check(space, o):
- """Return true if o is a function object (has type PyFunction_Type).
- The parameter must not be NULL."""
- raise NotImplementedError
-
@cpython_api([PyObject, PyObject], PyObject)
def PyFunction_New(space, code, globals):
"""Return a new function object associated with the code object code. globals
@@ -3128,13 +3122,6 @@
changes in your code for properly supporting 64-bit systems."""
raise NotImplementedError
- at cpython_api([PyObject], PyObject)
-def PyUnicode_AsUTF8String(space, unicode):
- """Encode a Unicode object using UTF-8 and return the result as Python string
- object. Error handling is "strict". Return NULL if an exception was raised
- by the codec."""
- raise NotImplementedError
-
@cpython_api([rffi.CCHARP, Py_ssize_t, rffi.CCHARP, rffi.INTP], PyObject)
def PyUnicode_DecodeUTF32(space, s, size, errors, byteorder):
"""Decode length bytes from a UTF-32 encoded buffer string and return the
More information about the Pypy-commit
mailing list