[pypy-commit] pypy default: issue #2067: fix the error message

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78179:8324e92a5b49 Date: 2015-06-18 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/8324e92a5b49/ Log:issue #2067: fix the error message diff --git a/pypy/module/_socket/interp_func.py b/pypy/module/_socket/interp_func.py --- a/pypy/module/_socke

[pypy-commit] pypy default: Give up, copy the whole test here and fix it

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78251:92a888903431 Date: 2015-06-23 09:42 +0200 http://bitbucket.org/pypy/pypy/changeset/92a888903431/ Log:Give up, copy the whole test here and fix it diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/module/_

[pypy-commit] stmgc queue: tweaks

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1869:72471a4e7d9e Date: 2015-06-18 21:20 +0200 http://bitbucket.org/pypy/stmgc/changeset/72471a4e7d9e/ Log:tweaks diff --git a/c8/stm/queue.c b/c8/stm/queue.c --- a/c8/stm/queue.c +++ b/c8/stm/queue.c @@ -109,9 +109,9 @@ spinlock_release(get_

[pypy-commit] cffi default: Add a passing test

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r2191:ed37c9e07e1b Date: 2015-06-23 09:21 +0200 http://bitbucket.org/cffi/cffi/changeset/ed37c9e07e1b/ Log:Add a passing test diff --git a/testing/cffi1/test_recompiler.py b/testing/cffi1/test_recompiler.py --- a/testing/cffi1/test_recompiler.py +++ b/t

[pypy-commit] pypy default: Test and fix: ffi.addressof(lib, 'func-with-struct-args') would return

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78249:e8bd7b84971b Date: 2015-06-23 09:28 +0200 http://bitbucket.org/pypy/pypy/changeset/e8bd7b84971b/ Log:Test and fix: ffi.addressof(lib, 'func-with-struct-args') would return a badly typed cdata object diff --git a/pypy/module/_cffi_backend/

[pypy-commit] stmgc queue: Aaaaaaaa ok found the next bug

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1870:10bb05551db5 Date: 2015-06-18 21:23 +0200 http://bitbucket.org/pypy/stmgc/changeset/10bb05551db5/ Log:Aaaa ok found the next bug diff --git a/c8/stm/queue.c b/c8/stm/queue.c --- a/c8/stm/queue.c +++ b/c8/stm/queue.c @@ -250,6 +250,11 @@

[pypy-commit] stmgc queue: fix fix fix minor collections

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1871:0a5991d79ba3 Date: 2015-06-18 23:25 +0200 http://bitbucket.org/pypy/stmgc/changeset/0a5991d79ba3/ Log:fix fix fix minor collections diff --git a/c8/stm/nursery.c b/c8/stm/nursery.c --- a/c8/stm/nursery.c +++ b/c8/stm/nursery.c @@ -553,6 +553,

[pypy-commit] stmgc queue: Missing push/pop root

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1868:159fbfd040f9 Date: 2015-06-18 21:16 +0200 http://bitbucket.org/pypy/stmgc/changeset/159fbfd040f9/ Log:Missing push/pop root diff --git a/c8/stm/queue.c b/c8/stm/queue.c --- a/c8/stm/queue.c +++ b/c8/stm/queue.c @@ -284,7 +284,9 @@ #endif

[pypy-commit] pypy stmgc-c8: import stmgc/7592a0f11ac2

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78171:eeb45349ea15 Date: 2015-06-18 10:45 +0100 http://bitbucket.org/pypy/pypy/changeset/eeb45349ea15/ Log:import stmgc/7592a0f11ac2 diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython/t

[pypy-commit] pypy vecopt: add a new doc file to describe vecopt, describe what the current opt. is capable of and added some limitations

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78250:77f58b1dcf7f Date: 2015-06-23 09:33 +0200 http://bitbucket.org/pypy/pypy/changeset/77f58b1dcf7f/ Log:add a new doc file to describe vecopt, describe what the current opt. is capable of and added some limitations diff --git a/r

[pypy-commit] stmgc default: After cond_wait_timeout() returns with "timeout", we need to check

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r1863:b28eec420b62 Date: 2015-06-18 18:47 +0200 http://bitbucket.org/pypy/stmgc/changeset/b28eec420b62/ Log:After cond_wait_timeout() returns with "timeout", we need to check again if a safe-point was requested. diff --git a/c8/stm/core.c b/c8/s

[pypy-commit] pypy default: Mostly no-op reorganization. It avoids promoting the whole W_FunctionWrapper

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78248:53cddb11ed7c Date: 2015-06-23 09:25 +0200 http://bitbucket.org/pypy/pypy/changeset/53cddb11ed7c/ Log:Mostly no-op reorganization. It avoids promoting the whole W_FunctionWrapper instance, and instead promotes only its rawfunctype a

[pypy-commit] stmgc queue: hg merge default

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1864:0a10e04f2119 Date: 2015-06-18 18:50 +0200 http://bitbucket.org/pypy/stmgc/changeset/0a10e04f2119/ Log:hg merge default diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -495,6 +495,32 @@ static void readd_

[pypy-commit] pypy stmgc-c8: update to stmgc/9ffba4fe03df and tweak the stmlog

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78217:2cba5fa41bf3 Date: 2015-06-20 17:25 +0200 http://bitbucket.org/pypy/pypy/changeset/2cba5fa41bf3/ Log:update to stmgc/9ffba4fe03df and tweak the stmlog diff --git a/rpython/translator/stm/src_stm/extracode.h b/rpython/translator/stm/src_s

[pypy-commit] pypy default: fix this test

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78224:743f2cc270b2 Date: 2015-06-21 12:13 +0200 http://bitbucket.org/pypy/pypy/changeset/743f2cc270b2/ Log:fix this test diff --git a/pypy/module/cpyext/test/test_version.py b/pypy/module/cpyext/test/test_version.py --- a/pypy/module/cpyext/test/test_

[pypy-commit] pypy regalloc: added logic to put every variable into the register depending on how far away the next usage is (less distance is more likely to end up in a register)

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: regalloc Changeset: r78174:be630ecb8639 Date: 2015-06-18 13:04 +0200 http://bitbucket.org/pypy/pypy/changeset/be630ecb8639/ Log:added logic to put every variable into the register depending on how far away the next usage is (less distance is more likel

[pypy-commit] pypy default: Duplicate 9a1683dd96e2 here

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78230:9f36a6b3d844 Date: 2015-06-21 14:33 +0200 http://bitbucket.org/pypy/pypy/changeset/9f36a6b3d844/ Log:Duplicate 9a1683dd96e2 here diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/module/_io/interp_textio.

[pypy-commit] pypy dtypes-compatability: test align more thoroughly (from numpy tests), percolate align argument

2015-06-23 Thread mattip
Author: mattip Branch: dtypes-compatability Changeset: r78231:e00c9f683a8c Date: 2015-06-20 21:14 +0300 http://bitbucket.org/pypy/pypy/changeset/e00c9f683a8c/ Log:test align more thoroughly (from numpy tests), percolate align argument diff --git a/pypy/module/micronumpy/test/test_dty

[pypy-commit] pypy vecopt: rpython issue

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78172:f5454aafa6d6 Date: 2015-06-18 11:51 +0200 http://bitbucket.org/pypy/pypy/changeset/f5454aafa6d6/ Log:rpython issue diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x86

[pypy-commit] pypy dtypes-compatability: wip - fixing align

2015-06-23 Thread mattip
Author: mattip Branch: dtypes-compatability Changeset: r78232:90f488ee3b1d Date: 2015-06-21 22:31 +0300 http://bitbucket.org/pypy/pypy/changeset/90f488ee3b1d/ Log:wip - fixing align diff --git a/pypy/module/micronumpy/descriptor.py b/pypy/module/micronumpy/descriptor.py --- a/pypy/module/mi

[pypy-commit] pypy run-create_cffi_imports: merge default into branch

2015-06-23 Thread mattip
Author: mattip Branch: run-create_cffi_imports Changeset: r78233:2217963bdd14 Date: 2015-06-21 22:32 +0300 http://bitbucket.org/pypy/pypy/changeset/2217963bdd14/ Log:merge default into branch diff --git a/lib_pypy/_tkinter/tklib_build.py b/lib_pypy/_tkinter/tklib_build.py --- a/lib_pypy/_tki

[pypy-commit] pypy default: fix test_whatsnew

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78223:bd2fe61e71b9 Date: 2015-06-21 12:12 +0200 http://bitbucket.org/pypy/pypy/changeset/bd2fe61e71b9/ Log:fix test_whatsnew diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whatsnew-h

[pypy-commit] pypy default: Test fix

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78229:8fca06d46f8c Date: 2015-06-21 14:30 +0200 http://bitbucket.org/pypy/pypy/changeset/8fca06d46f8c/ Log:Test fix diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py --- a/pypy/module/_socket/test/test_

[pypy-commit] pypy stmgc-c8: import stmgc branch 'queue'

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78188:c12cb756db2e Date: 2015-06-18 17:52 +0100 http://bitbucket.org/pypy/pypy/changeset/c12cb756db2e/ Log:import stmgc branch 'queue' diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython

[pypy-commit] pypy default: Issue #2069: comments and one essential fix. On one of the call paths,

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78247:7000d2a499d2 Date: 2015-06-23 08:39 +0200 http://bitbucket.org/pypy/pypy/changeset/7000d2a499d2/ Log:Issue #2069: comments and one essential fix. On one of the call paths, a promote() was missing diff --git a/pypy/module/_cffi_backend/cty

[pypy-commit] pypy default: fix this test

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78225:6042b77b9402 Date: 2015-06-21 12:15 +0200 http://bitbucket.org/pypy/pypy/changeset/6042b77b9402/ Log:fix this test diff --git a/pypy/module/struct/test/test_struct.py b/pypy/module/struct/test/test_struct.py --- a/pypy/module/struct/test/test_st

[pypy-commit] pypy stmgc-c8: translation fix

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78180:bd18b5f3edec Date: 2015-06-18 14:30 +0100 http://bitbucket.org/pypy/pypy/changeset/bd18b5f3edec/ Log:translation fix diff --git a/pypy/module/pypystm/queue.py b/pypy/module/pypystm/queue.py --- a/pypy/module/pypystm/queue.py +++ b/pypy/mo

[pypy-commit] pypy stmgc-c8: Allow 'with stm_ignored' to disable locally the insertion of

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78234:df7e39382535 Date: 2015-06-21 21:33 +0200 http://bitbucket.org/pypy/pypy/changeset/df7e39382535/ Log:Allow 'with stm_ignored' to disable locally the insertion of stm_become_inevitable diff --git a/rpython/translator/stm/inevitable

[pypy-commit] pypy py3.3: Port _lzma to CFFI 1.0.

2015-06-23 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r78192:09b408b01eab Date: 2015-06-18 22:25 +0200 http://bitbucket.org/pypy/pypy/changeset/09b408b01eab/ Log:Port _lzma to CFFI 1.0. diff --git a/lib_pypy/_lzma.py b/lib_pypy/_lzma.py --- a/lib_pypy/_lzma.py +++ b/lib_pypy/_lzma.py @@ -1,11 +1,9 @

[pypy-commit] pypy stmgc-c8: can't use queue.get(block=True) in an atomic context

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78173:49f32dc15a94 Date: 2015-06-18 11:57 +0200 http://bitbucket.org/pypy/pypy/changeset/49f32dc15a94/ Log:can't use queue.get(block=True) in an atomic context diff --git a/pypy/module/pypystm/queue.py b/pypy/module/pypystm/queue.py --- a/pypy/

[pypy-commit] pypy default: Simplify code

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78235:ba1832c3fd9d Date: 2015-06-21 21:38 +0200 http://bitbucket.org/pypy/pypy/changeset/ba1832c3fd9d/ Log:Simplify code diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py --- a/pypy/module/_cffi_backend/ctype

[pypy-commit] pypy default: Never write a date in the docs without specifying the year

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78239:c7ccc6a7f9d7 Date: 2015-06-22 09:18 +0200 http://bitbucket.org/pypy/pypy/changeset/c7ccc6a7f9d7/ Log:Never write a date in the docs without specifying the year diff --git a/pypy/doc/embedding.rst b/pypy/doc/embedding.rst --- a/pypy/doc/embedding.

[pypy-commit] pypy stmgc-c8: in-porgress: massively kill stuff in transaction.py thanks to the new queue

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78189:ad1b81c56740 Date: 2015-06-18 17:57 +0100 http://bitbucket.org/pypy/pypy/changeset/ad1b81c56740/ Log:in-porgress: massively kill stuff in transaction.py thanks to the new queue diff --git a/lib_pypy/pypy_test/test_transaction.py

[pypy-commit] pypy default: in the heapcache don't do the same dict lookups twice for every getfield and

2015-06-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r78175:294f1462a787 Date: 2015-06-18 13:10 +0200 http://bitbucket.org/pypy/pypy/changeset/294f1462a787/ Log:in the heapcache don't do the same dict lookups twice for every getfield and setfield that is being traced diff --git a/rpython/

[pypy-commit] pypy default: Actually, kill these paragraphs and replace them with "--shared is the

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78240:37226b99d814 Date: 2015-06-22 09:21 +0200 http://bitbucket.org/pypy/pypy/changeset/37226b99d814/ Log:Actually, kill these paragraphs and replace them with "--shared is the default in recent releases" diff --git a/pypy/doc/embedding.rst b/

[pypy-commit] stmgc queue: Pushing roots around stm_queue_put was needed only when was had

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1856:3ca830828468 Date: 2015-06-18 09:42 +0200 http://bitbucket.org/pypy/stmgc/changeset/3ca830828468/ Log:Pushing roots around stm_queue_put was needed only when was had 'stm_queue_entry' GC objects diff --git a/c8/stmgc.h b/c8/stmgc.h --

[pypy-commit] pypy run-create_cffi_imports: add try/except (arigato)

2015-06-23 Thread mattip
Author: mattip Branch: run-create_cffi_imports Changeset: r78236:e281196f520a Date: 2015-06-21 22:43 +0300 http://bitbucket.org/pypy/pypy/changeset/e281196f520a/ Log:add try/except (arigato) diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/t

[pypy-commit] stmgc queue: tweaks

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1872:277dd2ad5226 Date: 2015-06-18 23:41 +0200 http://bitbucket.org/pypy/stmgc/changeset/277dd2ad5226/ Log:tweaks diff --git a/c8/stm/queue.c b/c8/stm/queue.c --- a/c8/stm/queue.c +++ b/c8/stm/queue.c @@ -84,8 +84,6 @@ bool ok = tree_

[pypy-commit] pypy default: don't create HeapCacheValue entries just to escape them

2015-06-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r78166:11818af6e56c Date: 2015-06-18 10:44 +0200 http://bitbucket.org/pypy/pypy/changeset/11818af6e56c/ Log:don't create HeapCacheValue entries just to escape them diff --git a/rpython/jit/metainterp/heapcache.py b/rpython/jit/metainterp/heapc

[pypy-commit] pypy stmgc-c8: import stmgc branch 'queue', and add rlib support for stm queues

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78163:91a280e13a9d Date: 2015-06-18 09:48 +0200 http://bitbucket.org/pypy/pypy/changeset/91a280e13a9d/ Log:import stmgc branch 'queue', and add rlib support for stm queues diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/memor

[pypy-commit] pypy stmgc-c8: Use 'stm_dont_track_raw_accesses' instead of 'stm_ignore' here, which is

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78241:c883fa17281d Date: 2015-06-22 10:46 +0200 http://bitbucket.org/pypy/pypy/changeset/c883fa17281d/ Log:Use 'stm_dont_track_raw_accesses' instead of 'stm_ignore' here, which is better supported by the JIT diff --git a/pypy/module/pyp

[pypy-commit] pypy default: move the check whether something is an ovf operation from

2015-06-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r78167:7b929b68078d Date: 2015-06-18 10:46 +0200 http://bitbucket.org/pypy/pypy/changeset/7b929b68078d/ Log:move the check whether something is an ovf operation from _record_helper_nonpure_varargs (where it was run for every single

[pypy-commit] pypy default: Randomly try to fix test_io

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78226:9a1683dd96e2 Date: 2015-06-21 12:26 +0200 http://bitbucket.org/pypy/pypy/changeset/9a1683dd96e2/ Log:Randomly try to fix test_io diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/module/_io/interp_textio.

[pypy-commit] pypy regalloc: exchanged the heuristic for the register allocator. it now takes the live range whose next use is furthest in the future

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: regalloc Changeset: r78168:0dcfffa6613e Date: 2015-06-18 11:00 +0200 http://bitbucket.org/pypy/pypy/changeset/0dcfffa6613e/ Log:exchanged the heuristic for the register allocator. it now takes the live range whose next use is furthest in the future add

[pypy-commit] stmgc queue: task_done() and join() interface of Queue.Queue

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1859:e1de0881bd13 Date: 2015-06-18 14:34 +0200 http://bitbucket.org/pypy/stmgc/changeset/e1de0881bd13/ Log:task_done() and join() interface of Queue.Queue diff --git a/c8/stm/queue.c b/c8/stm/queue.c --- a/c8/stm/queue.c +++ b/c8/stm/queue.c @@ -2

[pypy-commit] pypy default: Don't give "libpypy-c.so" in the example programs, as this seems to

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78183:c864bf5c98a1 Date: 2015-06-18 18:02 +0200 http://bitbucket.org/pypy/pypy/changeset/c864bf5c98a1/ Log:Don't give "libpypy-c.so" in the example programs, as this seems to confuse people into thinking they only need to have the "libpy

[pypy-commit] pypy default: import the cffi tests

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78227:67324d866b32 Date: 2015-06-21 12:38 +0200 http://bitbucket.org/pypy/pypy/changeset/67324d866b32/ Log:import the cffi tests diff --git a/pypy/module/test_lib_pypy/cffi_tests/cffi1/test_recompiler.py b/pypy/module/test_lib_pypy/cffi_tests/cffi1/te

[pypy-commit] pypy regalloc: storing the variable use/def information in the tuple of longevity as third parameter

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: regalloc Changeset: r78164:73506cd059de Date: 2015-06-18 09:58 +0200 http://bitbucket.org/pypy/pypy/changeset/73506cd059de/ Log:storing the variable use/def information in the tuple of longevity as third parameter diff --git a/rpython/jit/backend/llsu

[pypy-commit] pypy run-create_cffi_imports: create_cffi_import_libraries does not raise rather indicates which imports failed

2015-06-23 Thread mattip
Author: mattip Branch: run-create_cffi_imports Changeset: r78246:c537451c6156 Date: 2015-06-22 22:14 +0300 http://bitbucket.org/pypy/pypy/changeset/c537451c6156/ Log:create_cffi_import_libraries does not raise rather indicates which imports failed diff --git a/pypy/goal/targetpypysta

[pypy-commit] pypy cffi-callback-onerror: add the "onerror" argument to ffi.callback(), at least the out-of-line one

2015-06-23 Thread arigo
Author: Armin Rigo Branch: cffi-callback-onerror Changeset: r78195:bc928ced3d92 Date: 2015-06-19 00:02 +0200 http://bitbucket.org/pypy/pypy/changeset/bc928ced3d92/ Log:add the "onerror" argument to ffi.callback(), at least the out-of- line one diff --git a/pypy/module/_cffi_backend/c

[pypy-commit] pypy cffi-callback-onerror: A branch to try out the cffi issue #152

2015-06-23 Thread arigo
Author: Armin Rigo Branch: cffi-callback-onerror Changeset: r78194:5ceea5c3249b Date: 2015-06-18 23:44 +0200 http://bitbucket.org/pypy/pypy/changeset/5ceea5c3249b/ Log:A branch to try out the cffi issue #152 ___ pypy-commit mailing list pypy-commit

[pypy-commit] stmgc queue: Use a regular lock instead of compare-and-swap for 'old_entries'.

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1867:2cedc7732a5e Date: 2015-06-18 20:40 +0200 http://bitbucket.org/pypy/stmgc/changeset/2cedc7732a5e/ Log:Use a regular lock instead of compare-and-swap for 'old_entries'. See comment for why compare-and-swap has subtle issues with linked

[pypy-commit] pypy stmgc-c8: add task_done() and join() to rstm's queues

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78177:f597af41b44b Date: 2015-06-18 14:48 +0200 http://bitbucket.org/pypy/pypy/changeset/f597af41b44b/ Log:add task_done() and join() to rstm's queues diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/memory/gctransform/stmfram

[pypy-commit] pypy default: issue #2064: trying to call socket.close() on all sockets at exit, on Windows

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78222:ddbc9f97d312 Date: 2015-06-21 11:39 +0200 http://bitbucket.org/pypy/pypy/changeset/ddbc9f97d312/ Log:issue #2064: trying to call socket.close() on all sockets at exit, on Windows diff --git a/pypy/module/_socket/__init__.py b/pypy/module/

[pypy-commit] pypy regalloc: added more information to the output of regalloc.py

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: regalloc Changeset: r78242:ce341006d844 Date: 2015-06-22 12:08 +0200 http://bitbucket.org/pypy/pypy/changeset/ce341006d844/ Log:added more information to the output of regalloc.py diff --git a/rpython/jit/backend/tool/regalloc.py b/rpython/jit/backend/tool/r

[pypy-commit] pypy optresult: disable the unroll-related change for now, it breaks stuff

2015-06-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optresult Changeset: r78185:c76bc6248751 Date: 2015-06-18 17:28 +0200 http://bitbucket.org/pypy/pypy/changeset/c76bc6248751/ Log:disable the unroll-related change for now, it breaks stuff diff --git a/rpython/jit/metainterp/optimizeopt/pure.py b/rpython/j

[pypy-commit] pypy optresult: typo

2015-06-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optresult Changeset: r78186:f92232236af0 Date: 2015-06-18 17:32 +0200 http://bitbucket.org/pypy/pypy/changeset/f92232236af0/ Log:typo diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py --- a/rpython/jit/metainterp/pyjitpl.p

[pypy-commit] pypy stmgc-c8: hg merge release-2.6.x

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78244:bd31c1ba8c8b Date: 2015-06-22 15:45 +0200 http://bitbucket.org/pypy/pypy/changeset/bd31c1ba8c8b/ Log:hg merge release-2.6.x diff too long, truncating to 2000 out of 54702 lines diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @

[pypy-commit] pypy stmgc-c8: Try to add 'unsafe_write_int32' to experiment with it

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78237:c75627b708d5 Date: 2015-06-21 22:09 +0200 http://bitbucket.org/pypy/pypy/changeset/c75627b708d5/ Log:Try to add 'unsafe_write_int32' to experiment with it diff --git a/pypy/module/pypystm/__init__.py b/pypy/module/pypystm/__init__.py ---

[pypy-commit] pypy stmgc-c8: fixes for the merge

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78245:329874ff059b Date: 2015-06-22 16:36 +0200 http://bitbucket.org/pypy/pypy/changeset/329874ff059b/ Log:fixes for the merge diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py --- a/rpython/annotator/bookkeeper.py

[pypy-commit] pypy optresult: use proper new interface

2015-06-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optresult Changeset: r78187:1ba1b0efab29 Date: 2015-06-18 18:15 +0200 http://bitbucket.org/pypy/pypy/changeset/1ba1b0efab29/ Log:use proper new interface diff --git a/rpython/jit/metainterp/optimizeopt/intbounds.py b/rpython/jit/metainterp/optimizeopt/int

[pypy-commit] pypy optresult: merge default

2015-06-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: optresult Changeset: r78184:f191fe52a258 Date: 2015-06-18 17:26 +0200 http://bitbucket.org/pypy/pypy/changeset/f191fe52a258/ Log:merge default diff too long, truncating to 2000 out of 73369 lines diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags

[pypy-commit] pypy stmgc-c8: in-progress

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78220:2d9ef7ec5527 Date: 2015-06-21 09:27 +0200 http://bitbucket.org/pypy/pypy/changeset/2d9ef7ec5527/ Log:in-progress diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -1,3 +1,8 @@ +

[pypy-commit] pypy stmgc-c8: merge heads

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78221:e4e69af5598c Date: 2015-06-21 09:27 +0200 http://bitbucket.org/pypy/pypy/changeset/e4e69af5598c/ Log:merge heads diff --git a/rpython/translator/stm/src_stm/extracode.h b/rpython/translator/stm/src_stm/extracode.h --- a/rpython/translato

[pypy-commit] pypy default: Test and fix for a better error message on failing imports

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78219:fcb2ba48f07c Date: 2015-06-21 09:26 +0200 http://bitbucket.org/pypy/pypy/changeset/fcb2ba48f07c/ Log:Test and fix for a better error message on failing imports diff --git a/rpython/flowspace/flowcontext.py b/rpython/flowspace/flowcontext.py --- a

[pypy-commit] pypy stmgc-c8: task_done(), join() on stm.queue

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78178:5a114ddbc08d Date: 2015-06-18 14:56 +0200 http://bitbucket.org/pypy/pypy/changeset/5a114ddbc08d/ Log:task_done(), join() on stm.queue diff --git a/pypy/module/pypystm/queue.py b/pypy/module/pypystm/queue.py --- a/pypy/module/pypystm/queue

[pypy-commit] stmgc default: Next version of gdb breaks existing scripts, like usual

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r1865:c3a059fb73bc Date: 2015-06-18 18:39 +0100 http://bitbucket.org/pypy/stmgc/changeset/c3a059fb73bc/ Log:Next version of gdb breaks existing scripts, like usual diff --git a/c7/gdb/gdb_stm.py b/c7/gdb/gdb_stm.py --- a/c7/gdb/gdb_stm.py +++ b/c7/gdb/g

[pypy-commit] pypy stmgc-c8: import stmgc/277dd2ad5226 and fix test_transaction. Now it seems to work

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78196:408cbce24e97 Date: 2015-06-18 23:17 +0100 http://bitbucket.org/pypy/pypy/changeset/408cbce24e97/ Log:import stmgc/277dd2ad5226 and fix test_transaction. Now it seems to work diff --git a/lib_pypy/pypy_test/test_transaction.py b/l

[pypy-commit] stmgc queue: hg merge default

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1866:950c6296eab7 Date: 2015-06-18 18:39 +0100 http://bitbucket.org/pypy/stmgc/changeset/950c6296eab7/ Log:hg merge default diff --git a/c7/gdb/gdb_stm.py b/c7/gdb/gdb_stm.py --- a/c7/gdb/gdb_stm.py +++ b/c7/gdb/gdb_stm.py @@ -34,6 +34,12 @@

[pypy-commit] pypy stmgc-c8: translation fix

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78238:7260a61ff88a Date: 2015-06-21 22:27 +0100 http://bitbucket.org/pypy/pypy/changeset/7260a61ff88a/ Log:translation fix diff --git a/pypy/module/pypystm/unsafe_op.py b/pypy/module/pypystm/unsafe_op.py --- a/pypy/module/pypystm/unsafe_op.py +

[pypy-commit] pypy stmgc-c8: Keep the threads around for the next call to run()

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78218:e92765580f57 Date: 2015-06-20 07:40 +0200 http://bitbucket.org/pypy/pypy/changeset/e92765580f57/ Log:Keep the threads around for the next call to run() diff --git a/lib_pypy/pypy_test/test_transaction.py b/lib_pypy/pypy_test/test_transac

[pypy-commit] pypy py3.3: Port _decimal to CFFI 1.0.

2015-06-23 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r78193:3c835daef6cc Date: 2015-06-18 23:05 +0200 http://bitbucket.org/pypy/pypy/changeset/3c835daef6cc/ Log:Port _decimal to CFFI 1.0. diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -75,6 +75,7 @@ ^lib_pypy/__pycache__$ ^

[pypy-commit] pypy default: Fix test_tcl on 32bit machines.

2015-06-23 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78228:6453697f3a30 Date: 2015-06-21 14:09 +0200 http://bitbucket.org/pypy/pypy/changeset/6453697f3a30/ Log:Fix test_tcl on 32bit machines. diff --git a/lib_pypy/_tkinter/tklib_build.py b/lib_pypy/_tkinter/tklib_build.py --- a/lib_pypy/_tkinte

[pypy-commit] pypy optresult-unroll: scarily enough to start passing unrolling tests

2015-06-23 Thread fijal
Author: Maciej Fijalkowski Branch: optresult-unroll Changeset: r78176:ab923482ef81 Date: 2015-06-18 13:50 +0200 http://bitbucket.org/pypy/pypy/changeset/ab923482ef81/ Log:scarily enough to start passing unrolling tests diff --git a/rpython/jit/metainterp/optimizeopt/optimizer.py b/rpython/j

[pypy-commit] pypy stmgc-c8: import stmgc/0ef378d2da3d

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78197:8f3dbb28a3a3 Date: 2015-06-19 00:29 +0200 http://bitbucket.org/pypy/pypy/changeset/8f3dbb28a3a3/ Log:import stmgc/0ef378d2da3d diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython/t

[pypy-commit] pypy default: add __pypy__.get_hidden_tb so pypy2's app_main can grab the current traceback

2015-06-23 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r78200:8e8a73a3fdfa Date: 2015-06-18 17:45 -0700 http://bitbucket.org/pypy/pypy/changeset/8e8a73a3fdfa/ Log:add __pypy__.get_hidden_tb so pypy2's app_main can grab the current traceback from within a hidden frame (pypy3 can already get to it

[pypy-commit] pypy py3k: Fix translation.

2015-06-23 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r78182:ae79f5787d65 Date: 2015-06-18 16:18 +0200 http://bitbucket.org/pypy/pypy/changeset/ae79f5787d65/ Log:Fix translation. diff --git a/pypy/module/micronumpy/ctors.py b/pypy/module/micronumpy/ctors.py --- a/pypy/module/micronumpy/ctors.py +++ b

[pypy-commit] pypy default: adapt to py2.7

2015-06-23 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r78199:74cadf90d4ec Date: 2015-06-18 15:57 -0700 http://bitbucket.org/pypy/pypy/changeset/74cadf90d4ec/ Log:adapt to py2.7 diff --git a/pypy/module/__pypy__/test/test_special.py b/pypy/module/__pypy__/test/test_special.py --- a/pypy/module/__pypy__/

[pypy-commit] pypy default: hide more init functions

2015-06-23 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r78201:47da843f46fc Date: 2015-06-18 17:46 -0700 http://bitbucket.org/pypy/pypy/changeset/47da843f46fc/ Log:hide more init functions diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py --- a/pypy/interpreter/app_main.py +++ b/pyp

[pypy-commit] stmgc queue: oups

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1873:0ef378d2da3d Date: 2015-06-19 00:28 +0200 http://bitbucket.org/pypy/stmgc/changeset/0ef378d2da3d/ Log:oups diff --git a/c8/stm/queue.c b/c8/stm/queue.c --- a/c8/stm/queue.c +++ b/c8/stm/queue.c @@ -387,6 +387,7 @@ static void collect_active_

[pypy-commit] pypy py3.3: Re-add has_so_extension() to module/imp/importing.py (it was removed during the last merge because I thought it's dead code).

2015-06-23 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r78191:f02eca6ea2cb Date: 2015-06-18 20:25 +0200 http://bitbucket.org/pypy/pypy/changeset/f02eca6ea2cb/ Log:Re-add has_so_extension() to module/imp/importing.py (it was removed during the last merge because I thought it's dead code). diff

[pypy-commit] stmgc queue: - fix timespec_delay() to accept values of 'incr' larger than 1.0

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1857:7c61144ee23d Date: 2015-06-18 11:36 +0200 http://bitbucket.org/pypy/stmgc/changeset/7c61144ee23d/ Log:- fix timespec_delay() to accept values of 'incr' larger than 1.0 - pthread_cond_timedwait() can return EINTR diff --git a/c8/stm/s

[pypy-commit] pypy py3k: Fix CFFI test.

2015-06-23 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r78181:961d5a41abc1 Date: 2015-06-18 14:17 +0200 http://bitbucket.org/pypy/pypy/changeset/961d5a41abc1/ Log:Fix CFFI test. diff --git a/pypy/module/_cffi_backend/test/test_ffi_obj.py b/pypy/module/_cffi_backend/test/test_ffi_obj.py --- a/pypy/mod

[pypy-commit] stmgc default: Tweak tweak tweak: a deadlock was possible there

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r1862:ee0e63d791cb Date: 2015-06-18 18:36 +0200 http://bitbucket.org/pypy/stmgc/changeset/ee0e63d791cb/ Log:Tweak tweak tweak: a deadlock was possible there diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -495,6 +49

[pypy-commit] pypy py3.3: hg merge py3k

2015-06-23 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r78190:d55a565a0496 Date: 2015-06-18 18:57 +0200 http://bitbucket.org/pypy/pypy/changeset/d55a565a0496/ Log:hg merge py3k diff too long, truncating to 2000 out of 74512 lines diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -3,11 +3

[pypy-commit] pypy default: hide app_main's frames. this breaks sys.exc_info but py3 offers a workaround

2015-06-23 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r78198:04afcba2a748 Date: 2013-02-24 10:51 -0800 http://bitbucket.org/pypy/pypy/changeset/04afcba2a748/ Log:hide app_main's frames. this breaks sys.exc_info but py3 offers a workaround (grafted from 894b0fa3245b1584e5f8b7404d8c3206f7ab9f2d) d

[pypy-commit] stmgc queue: Clarify the return value of join()

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1860:d083e426a17d Date: 2015-06-18 14:45 +0200 http://bitbucket.org/pypy/stmgc/changeset/d083e426a17d/ Log:Clarify the return value of join() diff --git a/c8/stm/queue.c b/c8/stm/queue.c --- a/c8/stm/queue.c +++ b/c8/stm/queue.c @@ -309,7 +309,7 @

[pypy-commit] stmgc default: tweaks

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r1861:5b75b3f3a9b7 Date: 2015-06-18 17:01 +0200 http://bitbucket.org/pypy/stmgc/changeset/5b75b3f3a9b7/ Log:tweaks diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -529,7 +529,7 @@ enter_safe_point_if_re

[pypy-commit] stmgc default: fix: must deactivate queues earlier, else major collection will try to look

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r1881:9ffba4fe03df Date: 2015-06-20 17:22 +0200 http://bitbucket.org/pypy/stmgc/changeset/9ffba4fe03df/ Log:fix: must deactivate queues earlier, else major collection will try to look inside them even if the transaction is aborting diff --git a/

[pypy-commit] pypy vecopt: remembering the position of the guard exit to resume the regallocator at a guard exit

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78169:6466422700f1 Date: 2015-06-18 11:41 +0200 http://bitbucket.org/pypy/pypy/changeset/6466422700f1/ Log:remembering the position of the guard exit to resume the regallocator at a guard exit diff --git a/rpython/jit/backend/arm/as

[pypy-commit] stmgc default: fixed one TODO, added another

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r1880:09ca23bd1e4a Date: 2015-06-20 17:21 +0200 http://bitbucket.org/pypy/stmgc/changeset/09ca23bd1e4a/ Log:fixed one TODO, added another diff --git a/c8/TODO b/c8/TODO --- a/c8/TODO +++ b/c8/TODO @@ -1,14 +1,11 @@ + +- fix markers (e.g. become_inevitab

[pypy-commit] stmgc queue: Ah, this loop should never run more than once even now (re-add asserts)

2015-06-23 Thread arigo
Author: Armin Rigo Branch: queue Changeset: r1858:7592a0f11ac2 Date: 2015-06-18 11:43 +0200 http://bitbucket.org/pypy/stmgc/changeset/7592a0f11ac2/ Log:Ah, this loop should never run more than once even now (re-add asserts) diff --git a/c8/stm/sync.c b/c8/stm/sync.c --- a/c8/stm/sync

[pypy-commit] pypy vecopt: typo in arm assembler.py

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78170:e5cf1e51db67 Date: 2015-06-18 11:43 +0200 http://bitbucket.org/pypy/pypy/changeset/e5cf1e51db67/ Log:typo in arm assembler.py diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/rpython/jit/

[pypy-commit] pypy stmgc-c8: Change the implementation method of threadlocalproperty().

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78253:d3e128694145 Date: 2015-06-23 12:02 +0200 http://bitbucket.org/pypy/pypy/changeset/d3e128694145/ Log:Change the implementation method of threadlocalproperty(). Now it shouldn't give conflicts the first time the property is accessed

[pypy-commit] pypy stmgc-c8: Add _weakref.weakkeyiddict(), a generally useful weak-keyed-dict with

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78252:f5af62298413 Date: 2015-06-23 11:41 +0200 http://bitbucket.org/pypy/pypy/changeset/f5af62298413/ Log:Add _weakref.weakkeyiddict(), a generally useful weak-keyed-dict with identity instead of equality. It is useful to add more

[pypy-commit] pypy vecopt: added some temporary timing code for the trace execution

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78255:052ab2d7af35 Date: 2015-06-23 12:10 +0200 http://bitbucket.org/pypy/pypy/changeset/052ab2d7af35/ Log:added some temporary timing code for the trace execution diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/com

[pypy-commit] pypy vecopt: timing the vecopt and printing it to the logfiles

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78254:96394198b3ec Date: 2015-06-23 10:47 +0200 http://bitbucket.org/pypy/pypy/changeset/96394198b3ec/ Log:timing the vecopt and printing it to the logfiles diff --git a/rpython/jit/metainterp/optimizeopt/guard.py b/rpython/jit/metainterp/

[pypy-commit] pypy vecopt: missing bracket

2015-06-23 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78256:7cdaa1548c93 Date: 2015-06-23 12:26 +0200 http://bitbucket.org/pypy/pypy/changeset/7cdaa1548c93/ Log:missing bracket diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py b/rpython/jit/metainterp/optimizeopt/vectorize.py --- a

[pypy-commit] pypy stmgc-c8: Support the common primitive types in unsafe_write()

2015-06-23 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r78257:350b6a396e7a Date: 2015-06-23 12:50 +0200 http://bitbucket.org/pypy/pypy/changeset/350b6a396e7a/ Log:Support the common primitive types in unsafe_write() diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/cty

[pypy-commit] pypy default: Test and fix for 'math.fsum([nan])'. It's a typo when copying from CPython's mathmodule.c.

2015-06-23 Thread arigo
Author: Armin Rigo Branch: Changeset: r78258:459148974175 Date: 2015-06-23 13:20 +0200 http://bitbucket.org/pypy/pypy/changeset/459148974175/ Log:Test and fix for 'math.fsum([nan])'. It's a typo when copying from CPython's mathmodule.c. diff --git a/pypy/module/math/interp_math.py b

  1   2   >