[pypy-commit] benchmarks default: (__stian__) add pidigits benchmark to the nightly run

2012-08-31 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r189:f054077717fa Date: 2012-08-30 22:07 +0200 http://bitbucket.org/pypy/benchmarks/changeset/f054077717fa/ Log:(__stian__) add pidigits benchmark to the nightly run diff --git a/benchmarks.py b/benchmarks.py --- a/benchmarks.py +++ b/benchmarks

[pypy-commit] benchmarks default: merge

2012-08-31 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r190:fbdfce9885ab Date: 2012-08-31 09:16 +0200 http://bitbucket.org/pypy/benchmarks/changeset/fbdfce9885ab/ Log:merge diff --git a/benchmarks.py b/benchmarks.py --- a/benchmarks.py +++ b/benchmarks.py @@ -61,7 +61,7 @@ for name in ['float', 'nb

[pypy-commit] pypy py3k: completely change the strategy for unicode identifiers: instead of internally storing them as rpython unicode strings, we store them as utf-8 encoded byte strings, and decode

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57035:133e4041f97f Date: 2012-08-30 17:23 +0200 http://bitbucket.org/pypy/pypy/changeset/133e4041f97f/ Log:completely change the strategy for unicode identifiers: instead of internally storing them as rpython unicode strings, we store them

[pypy-commit] pypy py3k: backout bd3326f15584, we no longer want unicode

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57036:3c61904c2c27 Date: 2012-08-30 17:28 +0200 http://bitbucket.org/pypy/pypy/changeset/3c61904c2c27/ Log:backout bd3326f15584, we no longer want unicode diff --git a/pypy/translator/test/test_generator.py b/pypy/translator/test/test_generator.

[pypy-commit] pypy py3k: backout 6a591d00373a, we no longer want unicode

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57038:00505d943dc1 Date: 2012-08-30 17:29 +0200 http://bitbucket.org/pypy/pypy/changeset/00505d943dc1/ Log:backout 6a591d00373a, we no longer want unicode diff --git a/pypy/annotation/description.py b/pypy/annotation/description.py --- a/pypy/ann

[pypy-commit] pypy py3k: backout 3b7e2e228239, we no longer want unicode

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57037:50a24329b4b3 Date: 2012-08-30 17:28 +0200 http://bitbucket.org/pypy/pypy/changeset/50a24329b4b3/ Log:backout 3b7e2e228239, we no longer want unicode diff --git a/pypy/interpreter/test/test_gateway.py b/pypy/interpreter/test/test_gateway.py

[pypy-commit] pypy py3k: backout a5e20b0caee4: Signature() now takes byte strings again

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57040:9627db7a099f Date: 2012-08-30 17:31 +0200 http://bitbucket.org/pypy/pypy/changeset/9627db7a099f/ Log:backout a5e20b0caee4: Signature() now takes byte strings again diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py ---

[pypy-commit] pypy py3k: backout f860431bfa26, we no longer want unicode

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57039:3f7e3d68df6f Date: 2012-08-30 17:29 +0200 http://bitbucket.org/pypy/pypy/changeset/3f7e3d68df6f/ Log:backout f860431bfa26, we no longer want unicode diff --git a/pypy/annotation/specialize.py b/pypy/annotation/specialize.py --- a/pypy/annot

[pypy-commit] pypy py3k: add a new space method to unwrap unicode identifiers into UTF-8 encoded strings

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57043:259f31766894 Date: 2012-08-31 09:47 +0200 http://bitbucket.org/pypy/pypy/changeset/259f31766894/ Log:add a new space method to unwrap unicode identifiers into UTF-8 encoded strings diff --git a/pypy/interpreter/baseobjspace.py b/pyp

[pypy-commit] pypy py3k: fix test_argument now that we use again bytes string and the exception messages are supposed to be in utf-8

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57041:40cd3c4ed930 Date: 2012-08-30 17:34 +0200 http://bitbucket.org/pypy/pypy/changeset/40cd3c4ed930/ Log:fix test_argument now that we use again bytes string and the exception messages are supposed to be in utf-8 diff --git a/pypy/inter

[pypy-commit] pypy py3k: hg backout f2376a5c4e21

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57042:38abbacbdcd9 Date: 2012-08-30 17:37 +0200 http://bitbucket.org/pypy/pypy/changeset/38abbacbdcd9/ Log:hg backout f2376a5c4e21 diff --git a/pypy/module/itertools/interp_itertools.py b/pypy/module/itertools/interp_itertools.py --- a/pypy/modu

[pypy-commit] pypy default: Static linking of openssl, 2nd version

2012-08-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r57044:1bff7a98c57e Date: 2012-08-31 10:13 +0200 http://bitbucket.org/pypy/pypy/changeset/1bff7a98c57e/ Log:Static linking of openssl, 2nd version diff --git a/pypy/rlib/ropenssl.py b/pypy/rlib/ropenssl.py --- a/pypy/rlib/ropenssl.py +++ b/pypy/rlib/rop

[pypy-commit] pypy py3k: use identifier_w to unwrap the keywords

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57045:f5006eeaebdc Date: 2012-08-31 10:15 +0200 http://bitbucket.org/pypy/pypy/changeset/f5006eeaebdc/ Log:use identifier_w to unwrap the keywords diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py --- a/pypy/interpreter/arg

[pypy-commit] pypy py3k: missing method on the dummy space

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57046:965cbea52088 Date: 2012-08-31 10:21 +0200 http://bitbucket.org/pypy/pypy/changeset/965cbea52088/ Log:missing method on the dummy space diff --git a/pypy/interpreter/test/test_argument.py b/pypy/interpreter/test/test_argument.py --- a/pypy/

[pypy-commit] pypy py3k: use identifier_w also here

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57047:c97894e67515 Date: 2012-08-31 10:21 +0200 http://bitbucket.org/pypy/pypy/changeset/c97894e67515/ Log:use identifier_w also here diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopcode.py +++

[pypy-commit] pypy default: rpython fix: unicode_encode_utf8 has already been annotated when we are rtyping .encode('utf-8'), so we need to make sure that the annotations are compatible

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r57049:eae84b7cc330 Date: 2012-08-31 11:16 +0200 http://bitbucket.org/pypy/pypy/changeset/eae84b7cc330/ Log:rpython fix: unicode_encode_utf8 has already been annotated when we are rtyping .encode('utf-8'), so we need to make sure that the

[pypy-commit] pypy default: rpython fix: str_decode_utf8 has already been annotated when we are rtyping .decode('utf-8'), so we need to make sure that the annotations are compatible

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r57050:f8b1cbbd9971 Date: 2012-08-31 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/f8b1cbbd9971/ Log:rpython fix: str_decode_utf8 has already been annotated when we are rtyping .decode('utf-8'), so we need to make sure that the a

[pypy-commit] pypy py3k: hg merge default

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57051:83a304c73c9a Date: 2012-08-31 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/83a304c73c9a/ Log:hg merge default diff --git a/pypy/rpython/lltypesystem/rstr.py b/pypy/rpython/lltypesystem/rstr.py --- a/pypy/rpython/lltypesystem/rstr.p

[pypy-commit] pypy default: Issue 1247: Fix for the syntax "()[...]".

2012-08-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r57053:aba0616c4c1b Date: 2012-08-31 12:34 +0200 http://bitbucket.org/pypy/pypy/changeset/aba0616c4c1b/ Log:Issue 1247: Fix for the syntax "()[...]". diff --git a/pypy/interpreter/astcompiler/optimize.py b/pypy/interpreter/astcompiler/optimize.py --- a

[pypy-commit] buildbot default: only schedule the jit-only tests for ARM to be run nightly on tannit-arm32

2012-08-31 Thread bivab
Author: David Schneider Branch: Changeset: r668:021af0314f51 Date: 2012-08-31 13:21 +0200 http://bitbucket.org/pypy/buildbot/changeset/021af0314f51/ Log:only schedule the jit-only tests for ARM to be run nightly on tannit-arm32 diff --git a/bot2/pypybuildbot/master.py b/bot2/pypybui

[pypy-commit] cffi default: Two demos of how CFFI can be used to write your own C functions

2012-08-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r906:8c4195c65dac Date: 2012-08-31 15:20 +0200 http://bitbucket.org/cffi/cffi/changeset/8c4195c65dac/ Log:Two demos of how CFFI can be used to write your own C functions using whatever API is most suitable. diff --git a/demo/api.py b/demo/api.py

[pypy-commit] cffi default: Ask for the length of the list from C code, too.

2012-08-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r907:8dadf841d6f3 Date: 2012-08-31 15:24 +0200 http://bitbucket.org/cffi/cffi/changeset/8dadf841d6f3/ Log:Ask for the length of the list from C code, too. diff --git a/demo/pyobj.py b/demo/pyobj.py --- a/demo/pyobj.py +++ b/demo/pyobj.py @@ -33,9 +33,14

[pypy-commit] cffi default: Complete the example.

2012-08-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r908:ea467cabd720 Date: 2012-08-31 15:40 +0200 http://bitbucket.org/cffi/cffi/changeset/ea467cabd720/ Log:Complete the example. diff --git a/demo/pyobj.py b/demo/pyobj.py --- a/demo/pyobj.py +++ b/demo/pyobj.py @@ -2,25 +2,31 @@ ffi = api.PythonFFI()

[pypy-commit] pypy default: it is too hard to call unicode_encode_utf_8 from a LL graph while keeping the same annotations computed during normal translation. Instead, we clone a new function with fun

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r57054:f06c2ef91129 Date: 2012-08-31 14:29 +0200 http://bitbucket.org/pypy/pypy/changeset/f06c2ef91129/ Log:it is too hard to call unicode_encode_utf_8 from a LL graph while keeping the same annotations computed during normal translation.

[pypy-commit] pypy default: kill a leftover

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r57057:aac324730e6f Date: 2012-08-31 15:29 +0200 http://bitbucket.org/pypy/pypy/changeset/aac324730e6f/ Log:kill a leftover diff --git a/pypy/rpython/rstr.py b/pypy/rpython/rstr.py --- a/pypy/rpython/rstr.py +++ b/pypy/rpython/rstr.py @@ -19,9 +19,7 @

[pypy-commit] pypy py3k: hg merge default

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57060:d89b115a2f10 Date: 2012-08-31 16:25 +0200 http://bitbucket.org/pypy/pypy/changeset/d89b115a2f10/ Log:hg merge default diff --git a/pypy/rpython/rstr.py b/pypy/rpython/rstr.py --- a/pypy/rpython/rstr.py +++ b/pypy/rpython/rstr.py @@ -15,8 +1

[pypy-commit] pypy default: do the same with str_decode_utf_8

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r57055:aad4c9d57f01 Date: 2012-08-31 15:07 +0200 http://bitbucket.org/pypy/pypy/changeset/aad4c9d57f01/ Log:do the same with str_decode_utf_8 diff --git a/pypy/rpython/lltypesystem/rstr.py b/pypy/rpython/lltypesystem/rstr.py --- a/pypy/rpython/lltype

[pypy-commit] pypy py3k: merge default

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57058:ffc2b957ddc5 Date: 2012-08-31 15:29 +0200 http://bitbucket.org/pypy/pypy/changeset/ffc2b957ddc5/ Log:merge default diff --git a/pypy/rpython/rstr.py b/pypy/rpython/rstr.py --- a/pypy/rpython/rstr.py +++ b/pypy/rpython/rstr.py @@ -19,9 +19,7

[pypy-commit] pypy default: delay the import of rlib.runicode as much as possible, else we get circular imports

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r57059:5ca4f666e0ee Date: 2012-08-31 16:24 +0200 http://bitbucket.org/pypy/pypy/changeset/5ca4f666e0ee/ Log:delay the import of rlib.runicode as much as possible, else we get circular imports diff --git a/pypy/rpython/rstr.py b/pypy/rpython/rs

[pypy-commit] pypy default: hg merge

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r57061:5f0a7929c8ea Date: 2012-08-31 16:28 +0200 http://bitbucket.org/pypy/pypy/changeset/5f0a7929c8ea/ Log:hg merge diff --git a/pypy/interpreter/astcompiler/optimize.py b/pypy/interpreter/astcompiler/optimize.py --- a/pypy/interpreter/astcompiler/o

[pypy-commit] pypy py3k: comment out this failing assertion for now; we should look at it later

2012-08-31 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57062:5476bd0bc25e Date: 2012-08-31 16:36 +0200 http://bitbucket.org/pypy/pypy/changeset/5476bd0bc25e/ Log:comment out this failing assertion for now; we should look at it later diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -12,4 +12,

[pypy-commit] cffi default: Split (roughly) the code and the test. Use the 'p' prefix for

2012-08-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r909:225281daefdf Date: 2012-08-31 16:38 +0200 http://bitbucket.org/cffi/cffi/changeset/225281daefdf/ Log:Split (roughly) the code and the test. Use the 'p' prefix for object descriptors (_P_ython) instead of 'i'. diff --git a/demo/pyobj.py b/de

[pypy-commit] pypy numpypy-complex2: copy complex_testcases to test_ufuncs

2012-08-31 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57063:9ab2857e5445 Date: 2012-08-31 15:34 +0300 http://bitbucket.org/pypy/pypy/changeset/9ab2857e5445/ Log:copy complex_testcases to test_ufuncs diff --git a/pypy/rlib/test/rcomplex_testcases.txt b/pypy/module/micronumpy/test/complex_testc

[pypy-commit] pypy numpypy-complex2: fix complex math test cases for numpy compatibility (never raises)

2012-08-31 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57064:2280c2365844 Date: 2012-08-31 18:44 +0300 http://bitbucket.org/pypy/pypy/changeset/2280c2365844/ Log:fix complex math test cases for numpy compatibility (never raises) diff --git a/pypy/module/micronumpy/test/complex_testcases.txt b/