[pypy-commit] pypy default: test that it is possible disable each of the optimization steps

2012-05-01 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r54838:0778ff2df9df Date: 2012-05-01 10:53 +0200 http://bitbucket.org/pypy/pypy/changeset/0778ff2df9df/ Log:test that it is possible disable each of the optimization steps diff --git a/pypy/jit/metainterp/optimizeopt/test/test_disable_optimizations.py

[pypy-commit] pypy default: When unrolling is emabled OptSimplify should not touch LABEL and JUMP ops

2012-05-01 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r54839:8cc6f87c034b Date: 2012-05-01 11:22 +0200 http://bitbucket.org/pypy/pypy/changeset/8cc6f87c034b/ Log:When unrolling is emabled OptSimplify should not touch LABEL and JUMP ops diff --git a/pypy/jit/metainterp/optimizeopt/__init__.py b/pyp

[pypy-commit] pypy default: merge

2012-05-01 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r54840:699a431ea9a8 Date: 2012-05-01 11:23 +0200 http://bitbucket.org/pypy/pypy/changeset/699a431ea9a8/ Log:merge diff --git a/pypy/doc/cppyy.rst b/pypy/doc/cppyy.rst --- a/pypy/doc/cppyy.rst +++ b/pypy/doc/cppyy.rst @@ -21,6 +21,26 @@ .. _`llvm`: http

[pypy-commit] pypy default: some comments

2012-05-01 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r54841:38a19a4dd9f3 Date: 2012-05-01 11:26 +0200 http://bitbucket.org/pypy/pypy/changeset/38a19a4dd9f3/ Log:some comments diff --git a/pypy/jit/metainterp/optimizeopt/test/test_disable_optimizations.py b/pypy/jit/metainterp/optimizeopt/test/test_disabl

[pypy-commit] pypy numpypy-issue1137: use a real correct super call in AppTestNumArray.setup_class

2012-05-01 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: numpypy-issue1137 Changeset: r54842:80809f2cd86b Date: 2012-05-01 13:46 +0200 http://bitbucket.org/pypy/pypy/changeset/80809f2cd86b/ Log:use a real correct super call in AppTestNumArray.setup_class diff --git a/pypy/module/micronumpy/test/test_base.py b/py

[pypy-commit] pypy default: cpyext: add PyComplex_FromCComplex

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54845:3617c6ce9ef2 Date: 2012-04-29 21:47 +0200 http://bitbucket.org/pypy/pypy/changeset/3617c6ce9ef2/ Log:cpyext: add PyComplex_FromCComplex diff --git a/pypy/module/cpyext/complexobject.py b/pypy/module/cpyext/complexobject.py --- a/pypy/m

[pypy-commit] pypy default: Forgot to add this file

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54844:d95ebc2b9ef2 Date: 2012-04-28 23:33 +0200 http://bitbucket.org/pypy/pypy/changeset/d95ebc2b9ef2/ Log:Forgot to add this file diff --git a/pypy/module/cpyext/src/abstract.c b/pypy/module/cpyext/src/abstract.c new file mode 100644 --- /d

[pypy-commit] pypy default: cpyext: support T_PYSSIZET struct members

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54847:7fd659f71123 Date: 2012-04-30 23:51 +0200 http://bitbucket.org/pypy/pypy/changeset/7fd659f71123/ Log:cpyext: support T_PYSSIZET struct members diff --git a/pypy/module/cpyext/include/structmember.h b/pypy/module/cpyext/include/structme

[pypy-commit] pypy default: cpyext: add PyLong_AsSsize_t()

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54846:fcff0efbb7a3 Date: 2012-04-30 22:44 +0200 http://bitbucket.org/pypy/pypy/changeset/fcff0efbb7a3/ Log:cpyext: add PyLong_AsSsize_t() diff --git a/pypy/module/cpyext/longobject.py b/pypy/module/cpyext/longobject.py --- a/pypy/module/cpyex

[pypy-commit] pypy default: cpyext: add PyLong_FromSsize_t()

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54849:f4fd4ab5e166 Date: 2012-05-01 00:01 +0200 http://bitbucket.org/pypy/pypy/changeset/f4fd4ab5e166/ Log:cpyext: add PyLong_FromSsize_t() diff --git a/pypy/module/cpyext/longobject.py b/pypy/module/cpyext/longobject.py --- a/pypy/module/cpy

[pypy-commit] pypy default: cpyext: Add PyUnicode_DecodeUTF32()

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54851:3495b7bb0a18 Date: 2012-05-01 18:32 +0200 http://bitbucket.org/pypy/pypy/changeset/3495b7bb0a18/ Log:cpyext: Add PyUnicode_DecodeUTF32() diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py --- a/pypy/module/cpyext/stu

[pypy-commit] pypy default: merge heads

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54854:4fc21e56dbc9 Date: 2012-05-02 01:00 +0200 http://bitbucket.org/pypy/pypy/changeset/4fc21e56dbc9/ Log:merge heads diff --git a/pypy/doc/cppyy.rst b/pypy/doc/cppyy.rst --- a/pypy/doc/cppyy.rst +++ b/pypy/doc/cppyy.rst @@ -21,6 +21,26 @@

[pypy-commit] pypy default: cpyext: add support for PyUnicode_FromStringAndSize(NULL, size)

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54852:be37d8224c03 Date: 2012-05-01 18:49 +0200 http://bitbucket.org/pypy/pypy/changeset/be37d8224c03/ Log:cpyext: add support for PyUnicode_FromStringAndSize(NULL, size) diff --git a/pypy/module/cpyext/test/test_unicodeobject.py b/pypy/modu

[pypy-commit] pypy default: cpyext: Implement _PyFloat_Unpack4() and _PyFloat_Unpack8().

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54850:ac5690f5e02b Date: 2012-05-01 18:02 +0200 http://bitbucket.org/pypy/pypy/changeset/ac5690f5e02b/ Log:cpyext: Implement _PyFloat_Unpack4() and _PyFloat_Unpack8(). They are used by the py3k version of arraymodule. diff --git a/pyp

[pypy-commit] pypy default: translation fix

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r54853:c5c6c9577065 Date: 2012-05-01 23:52 +0200 http://bitbucket.org/pypy/pypy/changeset/c5c6c9577065/ Log:translation fix diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py --- a/pypy/module/cpyext/unicod

[pypy-commit] pypy py3k: Various fixes to cpyext, until the test suite executes all tests.

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54858:c346a55c6258 Date: 2012-04-30 23:01 +0200 http://bitbucket.org/pypy/pypy/changeset/c346a55c6258/ Log:Various fixes to cpyext, until the test suite executes all tests. (103 failures, 227 passed) diff --git a/pypy/module/cpyex

[pypy-commit] pypy py3k: To fake a py3k generator on top of pyhon2, it's necessary to

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54859:3f67f5b4d3d4 Date: 2012-04-30 23:28 +0200 http://bitbucket.org/pypy/pypy/changeset/3f67f5b4d3d4/ Log:To fake a py3k generator on top of pyhon2, it's necessary to rename .next() to .__next__(). This fixes space.wrap((x for x i

[pypy-commit] pypy py3k: hg merge default

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54857:bcf26626c1c6 Date: 2012-04-30 22:49 +0200 http://bitbucket.org/pypy/pypy/changeset/bcf26626c1c6/ Log:hg merge default diff --git a/pypy/module/cpyext/complexobject.py b/pypy/module/cpyext/complexobject.py --- a/pypy/module/cpyext/c

[pypy-commit] pypy py3k: hg merge default

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54861:3b723dd7df4f Date: 2012-05-01 18:04 +0200 http://bitbucket.org/pypy/pypy/changeset/3b723dd7df4f/ Log:hg merge default diff --git a/pypy/module/cpyext/floatobject.py b/pypy/module/cpyext/floatobject.py --- a/pypy/module/cpyext/float

[pypy-commit] pypy py3k: hg merge default

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54863:67e35dd3ead5 Date: 2012-05-01 18:50 +0200 http://bitbucket.org/pypy/pypy/changeset/67e35dd3ead5/ Log:hg merge default diff --git a/pypy/module/cpyext/test/test_unicodeobject.py b/pypy/module/cpyext/test/test_unicodeobject.py --- a/

[pypy-commit] pypy py3k: hg merge default

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54862:1fb96540cdbc Date: 2012-05-01 18:33 +0200 http://bitbucket.org/pypy/pypy/changeset/1fb96540cdbc/ Log:hg merge default diff --git a/pypy/module/cpyext/stubs.py b/pypy/module/cpyext/stubs.py --- a/pypy/module/cpyext/stubs.py +++ b/pyp

[pypy-commit] pypy py3k: cpyext: Update _sre.c used in tests with a recent 3.2 version,

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54865:7235f7fa634e Date: 2012-05-01 19:17 +0200 http://bitbucket.org/pypy/pypy/changeset/7235f7fa634e/ Log:cpyext: Update _sre.c used in tests with a recent 3.2 version, and convert some print statements diff --git a/pypy/module/c

[pypy-commit] pypy py3k: Adapt many cpyext tests to python3.

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54867:7c743ad72f55 Date: 2012-05-02 00:59 +0200 http://bitbucket.org/pypy/pypy/changeset/7c743ad72f55/ Log:Adapt many cpyext tests to python3. diff --git a/pypy/module/cpyext/dictobject.py b/pypy/module/cpyext/dictobject.py --- a/pypy/mod

[pypy-commit] pypy py3k: cpyext: fixes in test_unicodeobject.py

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54866:b600cc5d3490 Date: 2012-05-01 22:49 +0200 http://bitbucket.org/pypy/pypy/changeset/b600cc5d3490/ Log:cpyext: fixes in test_unicodeobject.py diff --git a/pypy/module/cpyext/test/test_unicodeobject.py b/pypy/module/cpyext/test/test_u

[pypy-commit] pypy py3k: hg merge default

2012-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r54868:c2293a4badc4 Date: 2012-05-02 01:02 +0200 http://bitbucket.org/pypy/pypy/changeset/c2293a4badc4/ Log:hg merge default diff --git a/pypy/doc/cppyy.rst b/pypy/doc/cppyy.rst --- a/pypy/doc/cppyy.rst +++ b/pypy/doc/cppyy.rst @@ -21,6 +2