On Mon, Apr 11, 2011 at 09:19:22PM +0200, Armin Rigo wrote: > Hi, > > On Mon, Apr 11, 2011 at 1:44 PM, <p...@pocketnix.org> wrote: > > - "struct", "md5", "cStringIO", "array"])) > > + "struct", "_md5", "cStringIO", "array"])) > > Thanks! Applied. > > Armin
seems i missed the ctypes dependence on the threading module (i always passed --thread to translation.py) while the first pypy-c would compile correctly, attempting to translate a second pypy interpreter would fail with an exception related to ctypes with the patch below executing "./pypy-c ./translate.py -O jit ./targetpypystandalone.py --translationmodules" will work without passing any more arguments in case anyone is interested i included the last few lines of the traceback to the end of the email from the second run that fails - "struct", "_md5", "cStringIO", "array"])) + "struct", "_md5", "cStringIO", "array", "thread"])) ------------------------------ File "/home/dablitz/code/pypy/pypy/rpython/lltypesystem/ll2ctypes.py", line 247, in get_ctypes_type cls = build_new_ctypes_type(T, delayed_builders) File "/home/dablitz/code/pypy/pypy/rpython/lltypesystem/ll2ctypes.py", line 284, in build_new_ctypes_type _setup_ctypes_cache() File "/home/dablitz/code/pypy/pypy/rpython/lltypesystem/ll2ctypes.py", line 92, in _setup_ctypes_cache lltype.Signed: ctypes.c_long, AttributeError: 'NoneType' object has no attribute 'c_long' _______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev