[pypy-commit] pypy gil-improvement: Tweaks.

2011-10-02 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47788:bdeb78cfcd9f Date: 2011-10-03 08:11 +0200 http://bitbucket.org/pypy/pypy/changeset/bdeb78cfcd9f/ Log:Tweaks. diff --git a/pypy/translator/c/src/thread_nt.h b/pypy/translator/c/src/thread_nt.h --- a/pypy/translator/c/src/thread_nt.

[pypy-commit] pypy jit-optimizeopt-cleanups: we want this part of optimize_CALL_PURE before OptString in the optimization chain

2011-10-02 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47786:a0de46f7ca56 Date: 2011-10-03 08:35 +0200 http://bitbucket.org/pypy/pypy/changeset/a0de46f7ca56/ Log:we want this part of optimize_CALL_PURE before OptString in the optimization chain diff --git a/pypy/jit/metainte

[pypy-commit] pypy jit-optimizeopt-cleanups: hg merge default

2011-10-02 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47787:0c0391d46337 Date: 2011-10-03 08:36 +0200 http://bitbucket.org/pypy/pypy/changeset/0c0391d46337/ Log:hg merge default diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py --- a/pypy/module/

[pypy-commit] pypy jit-optimizeopt-cleanups: failing test

2011-10-02 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47785:8ab3accea25a Date: 2011-10-03 08:24 +0200 http://bitbucket.org/pypy/pypy/changeset/8ab3accea25a/ Log:failing test diff --git a/pypy/jit/metainterp/test/test_string.py b/pypy/jit/metainterp/test/test_string.py --- a/pypy/j

[pypy-commit] pypy unsigned-dtypes: merge in default

2011-10-02 Thread justinpeel
Author: Justin Peel Branch: unsigned-dtypes Changeset: r47784:d6d4d230f8d9 Date: 2011-10-03 00:33 -0600 http://bitbucket.org/pypy/pypy/changeset/d6d4d230f8d9/ Log:merge in default diff --git a/pypy/annotation/test/test_annrpython.py b/pypy/annotation/test/test_annrpython.py --- a/pypy/annot

[pypy-commit] pypy numpy-data-buffer: test str(NumpyBuffer), fix incorrect size constraints in views.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47783:b2f6f9ba6200 Date: 2011-10-03 08:05 +0200 http://bitbucket.org/pypy/pypy/changeset/b2f6f9ba6200/ Log:test str(NumpyBuffer), fix incorrect size constraints in views. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/modu

[pypy-commit] pypy numpy-data-buffer: more tests for floats, setslice, setitem, ...

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47782:d4bb282ba363 Date: 2011-10-03 07:58 +0200 http://bitbucket.org/pypy/pypy/changeset/d4bb282ba363/ Log:more tests for floats, setslice, setitem, ... diff --git a/pypy/module/_numpy/test/test_buffer.py b/pypy/module/_numpy/test/

[pypy-commit] pypy numpy-data-buffer: fix off-by-ones, fix NumpyViewBuffer.calc_index, test float dtype a bit.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47781:02416eeae241 Date: 2011-10-03 07:51 +0200 http://bitbucket.org/pypy/pypy/changeset/02416eeae241/ Log:fix off-by-ones, fix NumpyViewBuffer.calc_index, test float dtype a bit. diff --git a/pypy/module/_numpy/interp_buffe

[pypy-commit] pypy numpy-data-buffer: move numpy.fromstring to applevel, add support for dtypes and count.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47780:f4a7400e9c6e Date: 2011-10-03 07:22 +0200 http://bitbucket.org/pypy/pypy/changeset/f4a7400e9c6e/ Log:move numpy.fromstring to applevel, add support for dtypes and count. diff --git a/lib_pypy/numpy/__init__.py b/lib_pypy/numpy

[pypy-commit] pypy numpy-data-buffer: add property "itemsize" to dtype objects

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47779:7c67ce4f3e43 Date: 2011-10-03 07:22 +0200 http://bitbucket.org/pypy/pypy/changeset/7c67ce4f3e43/ Log:add property "itemsize" to dtype objects diff --git a/pypy/module/_numpy/interp_dtype.py b/pypy/module/_numpy/interp_dtype.p

[pypy-commit] pypy numpy-data-buffer: fix obvious off-by-ones, assert lens, size of dtype is important for length of buffer.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47778:bceb4ab33edd Date: 2011-10-03 07:21 +0200 http://bitbucket.org/pypy/pypy/changeset/bceb4ab33edd/ Log:fix obvious off-by-ones, assert lens, size of dtype is important for length of buffer. diff --git a/pypy/module/_nump

[pypy-commit] pypy numpy-data-buffer: setting slices on buffers of arrays and slice-views

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r4:da293bf60612 Date: 2011-10-03 05:55 +0200 http://bitbucket.org/pypy/pypy/changeset/da293bf60612/ Log:setting slices on buffers of arrays and slice-views diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_numpy/in

[pypy-commit] pypy numpy-data-buffer: implement setting items on buffers of arrays and views.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47776:d577d2a94297 Date: 2011-10-03 05:38 +0200 http://bitbucket.org/pypy/pypy/changeset/d577d2a94297/ Log:implement setting items on buffers of arrays and views. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_nump

[pypy-commit] pypy numpy-data-buffer: implement buffers of slice-views.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47775:04889b07a351 Date: 2011-10-03 05:29 +0200 http://bitbucket.org/pypy/pypy/changeset/04889b07a351/ Log:implement buffers of slice-views. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_numpy/interp_buffer.py ---

[pypy-commit] pypy numpy-data-buffer: first bit of buffer support, supports reading, somewhat.

2011-10-02 Thread timo_jbo
Author: Timo Paulssen Branch: numpy-data-buffer Changeset: r47774:103fcb594b05 Date: 2011-10-03 05:12 +0200 http://bitbucket.org/pypy/pypy/changeset/103fcb594b05/ Log:first bit of buffer support, supports reading, somewhat. diff --git a/pypy/module/_numpy/interp_buffer.py b/pypy/module/_num

[pypy-commit] pypy default: add numpy.arcsinh

2011-10-02 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47772:7eb1a7979b5e Date: 2011-10-02 13:00 -0400 http://bitbucket.org/pypy/pypy/changeset/7eb1a7979b5e/ Log:add numpy.arcsinh diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py --- a/pypy/module/micronumpy/__init__.py

[pypy-commit] pypy default: remove this dead code, needed for the optimization from the previous commit.

2011-10-02 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47771:e93bb841a63d Date: 2011-10-02 12:42 -0400 http://bitbucket.org/pypy/pypy/changeset/e93bb841a63d/ Log:remove this dead code, needed for the optimization from the previous commit. diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspac

[pypy-commit] pypy gil-improvement: Move around the PulseEvents. According to the test

2011-10-02 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47770:b659babedfb9 Date: 2011-10-02 18:13 +0200 http://bitbucket.org/pypy/pypy/changeset/b659babedfb9/ Log:Move around the PulseEvents. According to the test (https://bitbucket.org/arigo/arigo/raw/default/hack/stm/misc) it

[pypy-commit] pypy default: change how some code is organized, fixes the failing test_pypy_c tests hopefully

2011-10-02 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47769:e28ade06eff5 Date: 2011-10-02 11:42 -0400 http://bitbucket.org/pypy/pypy/changeset/e28ade06eff5/ Log:change how some code is organized, fixes the failing test_pypy_c tests hopefully diff --git a/pypy/objspace/std/typeobject.py b/pypy/obj

[pypy-commit] pypy gil-improvement: merge heads

2011-10-02 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47768:6edcd8cac15a Date: 2011-10-02 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/6edcd8cac15a/ Log:merge heads diff --git a/pypy/annotation/test/test_annrpython.py b/pypy/annotation/test/test_annrpython.py --- a/pypy/annotation/

[pypy-commit] pypy gil-improvement: GIL code for Windows. After trying for a while I failed to find

2011-10-02 Thread arigo
Author: Armin Rigo Branch: gil-improvement Changeset: r47767:721b57bfd529 Date: 2011-10-02 16:22 +0200 http://bitbucket.org/pypy/pypy/changeset/721b57bfd529/ Log:GIL code for Windows. After trying for a while I failed to find a reasonable fully fool-proof equivalent to the Posix code,

[pypy-commit] pypy jit-optimizeopt-cleanups: setfields from forced virtuals now delayed a bit

2011-10-02 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47766:70e28f5386c4 Date: 2011-10-02 10:23 +0200 http://bitbucket.org/pypy/pypy/changeset/70e28f5386c4/ Log:setfields from forced virtuals now delayed a bit diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py b/pypy/module

[pypy-commit] pypy jit-optimizeopt-cleanups: make Optimizer.newoperations private and provide access methods

2011-10-02 Thread hakanardo
Author: Hakan Ardo Branch: jit-optimizeopt-cleanups Changeset: r47765:3274372f0d94 Date: 2011-10-02 09:47 +0200 http://bitbucket.org/pypy/pypy/changeset/3274372f0d94/ Log:make Optimizer.newoperations private and provide access methods diff --git a/pypy/jit/metainterp/optimizeopt/optimizer.py