Hello,<div><br></div><div>I've built a PyPy version of python-ldap (2.4.6), and I get the following error when I try to import:</div><div><br></div><div><div>Python 2.7.1 (?, Dec 02 2011, 19:18:28)</div><div>[PyPy 1.7.0 with GCC 4.6.2] on freebsd9</div>
<div>Type "help", "copyright", "credits" or "license" for more information.</div><div>And now for something completely different: ``calling the translation tool</div><div>chain a 'script' is kind of offensive''</div>
<div>>>>> from ldap import *</div><div>Fatal error in cpyext, CPython compatibility layer, calling PyTuple_Check</div><div>Either report a bug or consider not using this particular extension</div><div><InvalidPointerException object at 0x1822318></div>
<div>RPython traceback:</div><div> File "module_cpyext_api_4.c", line 28061, in PyTuple_Check</div><div> File "module_cpyext_pyobject.c", line 6540, in CpyTypedescr_type_realize</div><div> File "module_cpyext_typeobject.c", line 1034, in type_realize</div>
<div> File "module_cpyext_typeobject.c", line 2540, in _type_realize</div><div> File "module_cpyext_typeobject.c", line 4836, in W_PyCTypeObject___init__</div><div> File "module_cpyext_pyobject.c", line 1213, in BaseCpyTypedescr_realize</div>
<div>Segmentation fault: 11</div></div><div><br></div><div>I asked on the PyPy IRC and they suggested that PyTuple_Check is running before initializing module. Any thoughts on a fix?</div><div><br></div><div>-brads</div>