[pypy-svn] r73264 - pypy/branch/cpython-extension/pypy/module/cpyext
afa at codespeak.net
afa at codespeak.net
Fri Apr 2 01:02:51 CEST 2010
Author: afa
Date: Fri Apr 2 01:02:49 2010
New Revision: 73264
Modified:
pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py
Log:
This is the piece which allows distinct specialisations of functions
Modified: pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py (original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/typeobject.py Fri Apr 2 01:02:49 2010
@@ -39,7 +39,8 @@
if getset.c_set:
set = W_PyCObject.setter
GetSetProperty.__init__(self, get, set, None, doc,
- cls=W_PyCObject, use_closure=True)
+ cls=W_PyCObject, use_closure=True,
+ tag="cpyext_1")
def PyDescr_NewGetSet(space, getset, pto):
return space.wrap(W_GetSetPropertyEx(getset))
@@ -56,7 +57,8 @@
if not (flags & structmemberdefs.READONLY):
set = W_PyCObject.member_setter
GetSetProperty.__init__(self, get, set, None, doc,
- cls=W_PyCObject, use_closure=True)
+ cls=W_PyCObject, use_closure=True,
+ tag="cpyext_2")
def convert_getset_defs(space, dict_w, getsets, pto):
getsets = rffi.cast(rffi.CArrayPtr(PyGetSetDef), getsets)
More information about the Pypy-commit
mailing list