[pypy-commit] cffi default: Improve the error message.

2012-09-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r926:da8b284ba665 Date: 2012-09-13 08:49 +0200 http://bitbucket.org/cffi/cffi/changeset/da8b284ba665/ Log:Improve the error message. diff --git a/cffi/model.py b/cffi/model.py --- a/cffi/model.py +++ b/cffi/model.py @@ -38,7 +38,7 @@ return 'vo

[pypy-commit] cffi default: Fix the error message.

2012-09-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r925:0ecaa5b1a62b Date: 2012-09-13 08:40 +0200 http://bitbucket.org/cffi/cffi/changeset/0ecaa5b1a62b/ Log:Fix the error message. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -3278,7 +3278,8 @@

[pypy-commit] pypy stm-thread-2: Start writing a second target test. Fix a subtle bug revealed by it

2012-09-12 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r57320:1f89a668016c Date: 2012-09-12 23:41 +0200 http://bitbucket.org/pypy/pypy/changeset/1f89a668016c/ Log:Start writing a second target test. Fix a subtle bug revealed by it (see extradoc/6a8e4f80ba44). diff --git a/pypy/translator

[pypy-commit] pypy stm-thread-2: Fix

2012-09-12 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r57318:28223fb64ced Date: 2012-09-12 22:20 +0200 http://bitbucket.org/pypy/pypy/changeset/28223fb64ced/ Log:Fix diff --git a/pypy/rpython/memory/gc/stmgc.py b/pypy/rpython/memory/gc/stmgc.py --- a/pypy/rpython/memory/gc/stmgc.py +++ b/pypy/r

[pypy-commit] pypy stm-thread-2: Call it the "category" consistently.

2012-09-12 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r57317:aba73006fe80 Date: 2012-09-12 22:20 +0200 http://bitbucket.org/pypy/pypy/changeset/aba73006fe80/ Log:Call it the "category" consistently. diff --git a/pypy/translator/stm/funcgen.py b/pypy/translator/stm/funcgen.py --- a/pypy/translat

[pypy-commit] pypy stm-thread-2: Add a comment

2012-09-12 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r57319:7ed8d14a7269 Date: 2012-09-12 23:01 +0200 http://bitbucket.org/pypy/pypy/changeset/7ed8d14a7269/ Log:Add a comment diff --git a/pypy/rpython/memory/gc/stmgc.py b/pypy/rpython/memory/gc/stmgc.py --- a/pypy/rpython/memory/gc/stmgc.py ++

[pypy-commit] pypy stm-thread-2: Disable this case too for now.

2012-09-12 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r57316:27450e42694a Date: 2012-09-12 22:11 +0200 http://bitbucket.org/pypy/pypy/changeset/27450e42694a/ Log:Disable this case too for now. diff --git a/pypy/jit/backend/x86/runner.py b/pypy/jit/backend/x86/runner.py --- a/pypy/jit/backend/x8

[pypy-commit] pypy stm-thread-2: Mark places that will need fixing once we start improving

2012-09-12 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r57315:b755d7246cd1 Date: 2012-09-12 22:09 +0200 http://bitbucket.org/pypy/pypy/changeset/b755d7246cd1/ Log:Mark places that will need fixing once we start improving translator/stm/transform2.py. diff --git a/pypy/jit/backend/llsuppo

[pypy-commit] pypy stm-thread-2: Revert all changes to llmodel.py. Kill the gc_load/gc_store

2012-09-12 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r57313:7973ca7bc668 Date: 2012-09-11 18:13 +0200 http://bitbucket.org/pypy/pypy/changeset/7973ca7bc668/ Log:Revert all changes to llmodel.py. Kill the gc_load/gc_store lloperations again. diff --git a/pypy/jit/backend/llsupport/llmod

[pypy-commit] pypy stm-thread-2: Reimplement llmodel for stm using a read/write barrier (easier).

2012-09-12 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r57314:aa131bf06b7a Date: 2012-09-12 21:50 +0200 http://bitbucket.org/pypy/pypy/changeset/aa131bf06b7a/ Log:Reimplement llmodel for stm using a read/write barrier (easier). diff --git a/pypy/jit/backend/llsupport/gc.py b/pypy/jit/backend/lls

[pypy-commit] extradoc extradoc: Cannot compress the whole chain! Discovered this by "targetjit1" in

2012-09-12 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r4803:6a8e4f80ba44 Date: 2012-09-12 23:41 +0200 http://bitbucket.org/pypy/extradoc/changeset/6a8e4f80ba44/ Log:Cannot compress the whole chain! Discovered this by "targetjit1" in pypy. diff --git a/talk/stm2012/stmimpl.rst b/talk/stm2012

[pypy-commit] extradoc extradoc: merge heads

2012-09-12 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r4804:5791a9bad27b Date: 2012-09-13 07:33 +0200 http://bitbucket.org/pypy/extradoc/changeset/5791a9bad27b/ Log:merge heads diff --git a/blog/draft/arm-status-update.rst b/blog/draft/arm-status-update.rst new file mode 100644 --- /dev/null +++ b/

[pypy-commit] extradoc extradoc: The talk as given. Went nicely :-)

2012-09-12 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r4802:f0b77587132b Date: 2012-09-12 23:09 +0200 http://bitbucket.org/pypy/extradoc/changeset/f0b77587132b/ Log:The talk as given. Went nicely :-) diff --git a/talk/googlezurich2012/Makefile b/talk/googlezurich2012/Makefile new file mode 100644 -

[pypy-commit] pypy default: Add tests for the previous commit

2012-09-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r57312:f07eec99afa5 Date: 2012-09-13 01:43 +0200 http://bitbucket.org/pypy/pypy/changeset/f07eec99afa5/ Log:Add tests for the previous commit diff --git a/pypy/rlib/test/test_streamio.py b/pypy/rlib/test/test_streamio.py --- a/pypy/rlib/test/t

[pypy-commit] pypy default: Retry file.read() and file.write() when they are interrupted by a signal.

2012-09-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r57311:f89a2c5b6a28 Date: 2012-09-13 01:02 +0200 http://bitbucket.org/pypy/pypy/changeset/f89a2c5b6a28/ Log:Retry file.read() and file.write() when they are interrupted by a signal. diff --git a/pypy/rlib/streamio.py b/pypy/rlib/stream

[pypy-commit] pypy numpypy-complex2: fix translation

2012-09-12 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57310:6ee61649e84f Date: 2012-09-13 01:54 +0300 http://bitbucket.org/pypy/pypy/changeset/6ee61649e84f/ Log:fix translation diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py --- a/pypy/module/micronumpy/types.py

[pypy-commit] pypy numpypy-complex2: do not box twice, note that numpy.real, numpy.imag are not sufficiently tested

2012-09-12 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57309:a993ef4b7d2b Date: 2012-09-13 01:45 +0300 http://bitbucket.org/pypy/pypy/changeset/a993ef4b7d2b/ Log:do not box twice, note that numpy.real, numpy.imag are not sufficiently tested diff --git a/pypy/module/micronumpy/test/test_

[pypy-commit] pypy default: Merge heads

2012-09-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r57308:c341aab543ab Date: 2012-09-13 00:16 +0200 http://bitbucket.org/pypy/pypy/changeset/c341aab543ab/ Log:Merge heads diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py --- a/pypy/module/micronumpy/__init__

[pypy-commit] pypy default: Issue1260: sys.exc_info was not set before entering a context manager's __exit__

2012-09-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r57307:90debdd98abb Date: 2012-09-12 21:12 +0200 http://bitbucket.org/pypy/pypy/changeset/90debdd98abb/ Log:Issue1260: sys.exc_info was not set before entering a context manager's __exit__ diff --git a/pypy/interpreter/pyopcode.py b/py

[pypy-commit] pypy numpypy-complex2: add ndarray.real, ndarray.imag; properly promote to complex; move rAlmostEqual out of space

2012-09-12 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57306:207ac3dd1b78 Date: 2012-09-13 01:13 +0300 http://bitbucket.org/pypy/pypy/changeset/207ac3dd1b78/ Log:add ndarray.real, ndarray.imag; properly promote to complex; move rAlmostEqual out of space diff --git a/pypy/module/micronum

[pypy-commit] pypy numpypy-complex2: add 'allow_complex' to find_unaryop_result_dtype

2012-09-12 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57305:c1db76d1853b Date: 2012-09-12 22:49 +0300 http://bitbucket.org/pypy/pypy/changeset/c1db76d1853b/ Log:add 'allow_complex' to find_unaryop_result_dtype diff --git a/pypy/module/micronumpy/interp_boxes.py b/pypy/module/micronumpy/interp

[pypy-commit] pypy numpypy-complex2: fix failing test, probably is still incorrect for all platforms

2012-09-12 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57304:c3d0013616de Date: 2012-09-11 19:41 +0300 http://bitbucket.org/pypy/pypy/changeset/c3d0013616de/ Log:fix failing test, probably is still incorrect for all platforms diff --git a/pypy/module/micronumpy/test/test_dtypes.py b/pypy/modul

[pypy-commit] pypy py3k: Fix test in _multibytescodec module, and probably translation as well.

2012-09-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r57303:8215e4553b67 Date: 2012-09-13 00:10 +0200 http://bitbucket.org/pypy/pypy/changeset/8215e4553b67/ Log:Fix test in _multibytescodec module, and probably translation as well. diff --git a/pypy/module/_multibytecodec/c_codecs.py

[pypy-commit] pypy py3k: Some py3k fixes in the _ffi module

2012-09-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r57302:aca3138e7e98 Date: 2012-09-08 00:11 +0200 http://bitbucket.org/pypy/pypy/changeset/aca3138e7e98/ Log:Some py3k fixes in the _ffi module diff --git a/pypy/module/_ffi/app_struct.py b/pypy/module/_ffi/app_struct.py --- a/pypy/module/_

[pypy-commit] pypy default: merge

2012-09-12 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r57301:b116e59777da Date: 2012-09-12 20:27 +0200 http://bitbucket.org/pypy/pypy/changeset/b116e59777da/ Log:merge diff --git a/pypy/rlib/parsing/test/test_tree.py b/pypy/rlib/parsing/test/test_tree.py new file mode 100644 --- /dev/null +++ b/py

[pypy-commit] pypy default: ups, fix the translation

2012-09-12 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r57300:2d3d1f5167f5 Date: 2012-09-12 20:27 +0200 http://bitbucket.org/pypy/pypy/changeset/2d3d1f5167f5/ Log:ups, fix the translation diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py --- a/pypy/module/micronum

[pypy-commit] extradoc extradoc: merge

2012-09-12 Thread hakanardo
Author: Hakan Ardo Branch: extradoc Changeset: r4801:625f626a0895 Date: 2012-09-12 17:06 +0200 http://bitbucket.org/pypy/extradoc/changeset/625f626a0895/ Log:merge diff --git a/blog/draft/arm-status-update.rst b/blog/draft/arm-status-update.rst --- a/blog/draft/arm-status-update.rst +++ b/bl

[pypy-commit] extradoc extradoc: some morphology

2012-09-12 Thread hakanardo
Author: Hakan Ardo Branch: extradoc Changeset: r4800:f482dd01f80d Date: 2012-09-12 17:06 +0200 http://bitbucket.org/pypy/extradoc/changeset/f482dd01f80d/ Log:some morphology diff --git a/talk/dls2012/demo/analytics.py b/talk/dls2012/demo/analytics.py --- a/talk/dls2012/demo/analytics.py +++

[pypy-commit] pypy py3k: fix getrandbits() for the case where rbigint.SUPPORT_INT128 is enabled. Previosuly it always returned 0 but the test incorrectly passed because it returned a non-normalized rb

2012-09-12 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57299:96980a3ef3af Date: 2012-09-12 16:45 +0200 http://bitbucket.org/pypy/pypy/changeset/96980a3ef3af/ Log:fix getrandbits() for the case where rbigint.SUPPORT_INT128 is enabled. Previosuly it always returned 0 but the test incorrectly

[pypy-commit] pypy py3k: merge

2012-09-12 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57298:f80f2a566fdd Date: 2012-09-12 11:13 +0200 http://bitbucket.org/pypy/pypy/changeset/f80f2a566fdd/ Log:merge diff --git a/lib-python/3.2/test/test_exceptions.py b/lib-python/3.2/test/test_exceptions.py --- a/lib-python/3.2/test/test_exceptio

[pypy-commit] pypy py3k: add some gc_collect() before dereferencing a weakref which is supposed to be dead

2012-09-12 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57297:82c5bddf6b1f Date: 2012-09-06 19:17 +0200 http://bitbucket.org/pypy/pypy/changeset/82c5bddf6b1f/ Log:add some gc_collect() before dereferencing a weakref which is supposed to be dead diff --git a/lib-python/3.2/test/test_exceptions.

[pypy-commit] extradoc extradoc: refactoring

2012-09-12 Thread bivab
Author: David Schneider Branch: extradoc Changeset: r4799:3b9c3e8687dc Date: 2012-09-12 16:36 +0200 http://bitbucket.org/pypy/extradoc/changeset/3b9c3e8687dc/ Log:refactoring diff --git a/blog/draft/arm-status-update.rst b/blog/draft/arm-status-update.rst --- a/blog/draft/arm-status-update.r

[pypy-commit] extradoc extradoc: write some more

2012-09-12 Thread bivab
Author: David Schneider Branch: extradoc Changeset: r4798:77f306ae9d43 Date: 2012-09-12 10:35 +0200 http://bitbucket.org/pypy/extradoc/changeset/77f306ae9d43/ Log:write some more diff --git a/blog/draft/arm-status-update.rst b/blog/draft/arm-status-update.rst --- a/blog/draft/arm-status-upda

[pypy-commit] pypy default: Make sure that a specific IndexError is handled in RPython for Nonterminal in the Parsing rlib

2012-09-12 Thread krono
Author: Tobias Pape Branch: Changeset: r57296:13a39908e71b Date: 2012-09-12 16:21 +0200 http://bitbucket.org/pypy/pypy/changeset/13a39908e71b/ Log:Make sure that a specific IndexError is handled in RPython for Nonterminal in the Parsing rlib diff --git a/pypy/rlib/parsing/test/test_

[pypy-commit] extradoc extradoc: example input

2012-09-12 Thread hakanardo
Author: Hakan Ardo Branch: extradoc Changeset: r4797:175276616521 Date: 2012-09-12 13:28 +0200 http://bitbucket.org/pypy/extradoc/changeset/175276616521/ Log:example input diff --git a/talk/dls2012/demo/demo.avi b/talk/dls2012/demo/demo.avi new file mode 100644 index 000

[pypy-commit] extradoc extradoc: typo

2012-09-12 Thread hakanardo
Author: Hakan Ardo Branch: extradoc Changeset: r4796:5a0aeeccf379 Date: 2012-09-12 12:17 +0200 http://bitbucket.org/pypy/extradoc/changeset/5a0aeeccf379/ Log:typo diff --git a/talk/dls2012/demo/demo.py b/talk/dls2012/demo/demo.py --- a/talk/dls2012/demo/demo.py +++ b/talk/dls2012/demo/demo.p

[pypy-commit] extradoc extradoc: video analytics develoopment demo

2012-09-12 Thread hakanardo
Author: Hakan Ardo Branch: extradoc Changeset: r4795:985ea216ea2f Date: 2012-09-12 12:14 +0200 http://bitbucket.org/pypy/extradoc/changeset/985ea216ea2f/ Log:video analytics develoopment demo diff --git a/talk/dls2012/demo/analytics.py b/talk/dls2012/demo/analytics.py --- a/talk/dls2012/demo

[pypy-commit] extradoc extradoc: expose properties and use more descriptive names

2012-09-12 Thread hakanardo
Author: Hakan Ardo Branch: extradoc Changeset: r4794:820341bdb9d6 Date: 2012-09-12 09:20 +0200 http://bitbucket.org/pypy/extradoc/changeset/820341bdb9d6/ Log:expose properties and use more descriptive names diff --git a/talk/dls2012/demo/analytics.py b/talk/dls2012/demo/analytics.py --- a/ta

[pypy-commit] extradoc extradoc: simplify stateless case

2012-09-12 Thread hakanardo
Author: Hakan Ardo Branch: extradoc Changeset: r4793:707e5b6e3650 Date: 2012-09-12 09:14 +0200 http://bitbucket.org/pypy/extradoc/changeset/707e5b6e3650/ Log:simplify stateless case diff --git a/talk/dls2012/demo/analytics.py b/talk/dls2012/demo/analytics.py --- a/talk/dls2012/demo/analytics