Skip to content

Instantly share code, notes, and snippets.

View squeaky-pl's full-sized avatar

Paweł Piotr Przeradowski squeaky-pl

View GitHub Profile
[Timer] Timings:
[Timer] annotate --- 663.8 s
[Timer] ==========================================
[Timer] Total: --- 663.8 s
[translation:info] Error:
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/translator/goal/translate.py", line 316, in main
[translation:info] drv.proceed(goals)
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/translator/driver.py", line 531, in proceed
[translation:info] return self._execute(goals, task_skip = self._maybe_skip())
[translation:info] File "/home/squeaky/workspace/portable-pypy/centos-x86_64/workspace/src/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute
$ curl http://pastie.org/pastes/8672356/download -o /tmp/vmware-netfilter.patch
$ cd /usr/lib/vmware/modules/source
# tar -xvf vmnet.tar
# patch -p0 -i /tmp/vmware-netfilter.patch
# tar -cf vmnet.tar vmnet-only
# rm -r vmnet-only
# vmware-modconfig --console --install-all
/usr/bin/python -c "from inspect import ismethod; print repr(object.__delattr__); print ismethod(object.__delattr__)"
<slot wrapper '__delattr__' of 'object' objects>
False
pypy -c "from inspect import ismethod; print repr(object.__delattr__); print ismethod(object.__delattr__)"
<unbound method object.__delattr__>
True
if member.func_code.co_filename != modfile:
AttributeError: 'builtin-code' object has no attribute 'co_filename'
>>>> from pdb import pm
>>>> pm()
> /home/squeaky/workspace/portable-pypy/testenv2/site-packages/clonedigger/logilab/astng/builder.py(540)object_build()
-> if member.func_code.co_filename != modfile:
(Pdb) member
<function __delattr__ at 0x0000000001b0ffa0>
(Pdb) member.func_code.co_filename
*** AttributeError: 'builtin-code' object has no attribute 'co_filename'
(.data+0x135680): undefined reference to `__gcmap_rpython_rtyper_rlist__pypy_g_ll_listslice_startstop__GcStruct_listLlT_listPtr_4_91' [965/1495]
/tmp/ccLit4Zv.o: In function `__gcmapstart':
(.data+0x135690): undefined reference to `__gcmap_rpython_rtyper_rlist__pypy_g_ll_listslice_startstop__GcStruct_listLlT_listPtr_4_110'
/tmp/ccLit4Zv.o: In function `__gcmapstart':
(.data+0x1356a0): undefined reference to `__gcmap_rpython_rtyper_rlist__pypy_g_ll_listslice_startstop__GcStruct_listLlT_listPtr_4_153'
/tmp/ccLit4Zv.o: In function `__gcmapstart':
(.data+0x1356b0): undefined reference to `__gcmap_rpython_rtyper_rlist__pypy_g_ll_listslice_startstop__GcStruct_listLlT_listPtr_4_175'
/tmp/ccLit4Zv.o: In function `__gcmapstart':
(.data+0x1356c0): undefined reference to `__gcmap_rpython_rtyper_rlist__pypy_g_ll_inplace_mul__listPtr_Signed_4_29'
/tmp/ccLit4Zv.o: In function `__gcmapstart':
sudo yum localinstall openssl-libs-1.0.1e-37.fc20.1.x86_64.rpm openssl-libs-1.0.1e-37.fc20.1.i686.rpm openssl-1.0.1e-37.fc20.1.x86_64.rpm openssl-1.0.1e-37.fc20.1.i686.rpm openssl-devel-1.0.1e-37.fc20.1.x86_64.rpm openssl-devel-1.0.1e-37.fc20.1.i686.rpm
squeaky@tannit:~$ /home/arigo/br/stmgc-c7/64compiled/pypy-c-r70091-stm test.py 1
12.9383590221
squeaky@tannit:~$ /home/arigo/br/stmgc-c7/64compiled/pypy-c-r70091-stm test.py 2
6.67289185524
squeaky@tannit:~$ /home/arigo/br/stmgc-c7/64compiled/pypy-c-r70091-stm test.py 3
4.56366205215
squeaky@tannit:~$ /home/arigo/br/stmgc-c7/64compiled/pypy-c-r70091-stm test.py 4
3.55881786346
squeaky@tannit:~$ /home/arigo/br/stmgc-c7/64compiled/pypy-c-r70091-stm test.py 5
4.63840985298
from __future__ import division
from threading import Thread
from array import array
from sys import argv
data = array('B')
with open('/dev/urandom') as f:
./pytest.py -x ./pypy/objspace/std/test/test_celldict.py
============================================================================================================= test session starts =============================================================================================================
platform linux2 -- Python 2.7.3[pypy-2.2.1-final] -- pytest-2.2.4.dev2
pytest-2.2.4.dev2 from /home/squeaky/workspace/pypy/pytest.pyc
collected 55 items
pypy/objspace/std/test/test_celldict.py ...............F
================================================================================================================== FAILURES ===================================================================================================================
______________________________________________________________________________________________ TestModuleDictImplementation.test_setdefault_fast ______________________________________________________________________________________________
def add(a, b, c):
for i in range(LOOP):
c[i] = a[i] + b[i] + 1
# Loop 4 (<code object add, file 'test.py', line 18> #13 FOR_ITER) : loop with 124 ops
[p0, p1]
+80: p2 = getfield_gc(p0, descr=<FieldP pypy.interpreter.pyframe.PyFrame.inst_pycode 96>)
+91: p3 = getfield_gc(p0, descr=<FieldP pypy.interpreter.pyframe.PyFrame.inst_lastblock 80>)
+95: i4 = getfield_gc(p0, descr=<FieldS pypy.interpreter.pyframe.PyFrame.inst_valuestackdepth 104>)