[pypy-commit] pypy default: Add function.__globals__ as an alias for func_globals, CPython had no tests for this :(

2012-08-04 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r56578:7f8c3a9ea0fb Date: 2012-08-04 17:09 -0700 http://bitbucket.org/pypy/pypy/changeset/7f8c3a9ea0fb/ Log:Add function.__globals__ as an alias for func_globals, CPython had no tests for this :( diff --git a/pypy/interpreter/test/test_function

[pypy-commit] cffi default: Test and fix.

2012-08-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r781:09102559bc4c Date: 2012-08-04 22:03 +0200 http://bitbucket.org/cffi/cffi/changeset/09102559bc4c/ Log:Test and fix. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -585,7 +585,16 @@

[pypy-commit] pypy default: Make iterating over generators work (super easy!)

2012-08-04 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r56577:101051858877 Date: 2012-08-04 11:49 -0700 http://bitbucket.org/pypy/pypy/changeset/101051858877/ Log:Make iterating over generators work (super easy!) diff --git a/pypy/rpython/test/test_generator.py b/pypy/rpython/test/test_generator.py --- a/

[pypy-commit] pypy ppc-jit-backend: Use scratch registers and do not reuse loc_index.

2012-08-04 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r56576:d6ce58524a98 Date: 2012-08-04 11:05 -0700 http://bitbucket.org/pypy/pypy/changeset/d6ce58524a98/ Log:Use scratch registers and do not reuse loc_index. diff --git a/pypy/jit/backend/ppc/opassembler.py b/pypy/jit/backend/ppc/opassemble

[pypy-commit] pypy ppc-jit-backend: Update arglocs creation. Allocate additional scratch register.

2012-08-04 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r56575:4957930e0c15 Date: 2012-08-04 11:04 -0700 http://bitbucket.org/pypy/pypy/changeset/4957930e0c15/ Log:Update arglocs creation. Allocate additional scratch register. diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/jit/backend/ppc/r

[pypy-commit] pypy ffi-backend: Update from cffi and add the same special case.

2012-08-04 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r56574:affcac045afa Date: 2012-08-04 18:49 +0200 http://bitbucket.org/pypy/pypy/changeset/affcac045afa/ Log:Update from cffi and add the same special case. diff --git a/pypy/module/_cffi_backend/ctypeptr.py b/pypy/module/_cffi_backend/ctypep

[pypy-commit] pypy ffi-backend: Add the __version__ attribute.

2012-08-04 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r56573:8afd7bd80899 Date: 2012-08-04 16:21 +0200 http://bitbucket.org/pypy/pypy/changeset/8afd7bd80899/ Log:Add the __version__ attribute. diff --git a/pypy/module/_cffi_backend/__init__.py b/pypy/module/_cffi_backend/__init__.py --- a/pypy/

[pypy-commit] cffi default: Be more precise: only 'struct *'.

2012-08-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r780:e3709927a1d3 Date: 2012-08-04 18:47 +0200 http://bitbucket.org/cffi/cffi/changeset/e3709927a1d3/ Log:Be more precise: only 'struct *'. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -1773,7 +17

[pypy-commit] cffi default: verify() doesn't fully work with the ctypes backend. Complain clearly

2012-08-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r779:64b9281744eb Date: 2012-08-04 18:06 +0200 http://bitbucket.org/cffi/cffi/changeset/64b9281744eb/ Log:verify() doesn't fully work with the ctypes backend. Complain clearly in this situation. diff --git a/cffi/backend_ctypes.py b/cffi/backend

[pypy-commit] cffi verifier2: Close branch about to be merged

2012-08-04 Thread arigo
Author: Armin Rigo Branch: verifier2 Changeset: r776:5168aafa2daa Date: 2012-08-04 17:48 +0200 http://bitbucket.org/cffi/cffi/changeset/5168aafa2daa/ Log:Close branch about to be merged ___ pypy-commit mailing list pypy-commit@python.org http://mai

[pypy-commit] cffi default: Side-effect: the ctypes backend now supports verify().

2012-08-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r778:4e632efa7c2e Date: 2012-08-04 17:52 +0200 http://bitbucket.org/cffi/cffi/changeset/4e632efa7c2e/ Log:Side-effect: the ctypes backend now supports verify(). diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/do

[pypy-commit] cffi verifier2: Skip the tail of these two tests if not building a CPython C extension

2012-08-04 Thread arigo
Author: Armin Rigo Branch: verifier2 Changeset: r774:e4a09c2d87f3 Date: 2012-08-04 16:35 +0200 http://bitbucket.org/cffi/cffi/changeset/e4a09c2d87f3/ Log:Skip the tail of these two tests if not building a CPython C extension module. diff --git a/cffi/verifier.py b/cffi/verifier.py --

[pypy-commit] cffi verifier2: hg merge default

2012-08-04 Thread arigo
Author: Armin Rigo Branch: verifier2 Changeset: r773:59d76d06ee71 Date: 2012-08-04 16:32 +0200 http://bitbucket.org/cffi/cffi/changeset/59d76d06ee71/ Log:hg merge default diff --git a/testing/test_zdistutils.py b/testing/test_zdistutils.py --- a/testing/test_zdistutils.py +++ b/testing/test_

[pypy-commit] cffi default: Rename these two tests.

2012-08-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r772:62a399216c22 Date: 2012-08-04 16:32 +0200 http://bitbucket.org/cffi/cffi/changeset/62a399216c22/ Log:Rename these two tests. diff --git a/testing/test_zdistutils.py b/testing/test_zdistutils.py --- a/testing/test_zdistutils.py +++ b/testing/test_zd

[pypy-commit] cffi verifier2: str() -> ffi.string()

2012-08-04 Thread arigo
Author: Armin Rigo Branch: verifier2 Changeset: r771:ba019269819c Date: 2012-08-04 16:30 +0200 http://bitbucket.org/cffi/cffi/changeset/ba019269819c/ Log:str() -> ffi.string() diff --git a/cffi/verifier.py b/cffi/verifier.py --- a/cffi/verifier.py +++ b/cffi/verifier.py @@ -471,7 +471,7 @@

[pypy-commit] cffi verifier2: Fix the merge: I was getting confused about the numbers of testfuncs

2012-08-04 Thread arigo
Author: Armin Rigo Branch: verifier2 Changeset: r770:825a7054d9dd Date: 2012-08-04 16:28 +0200 http://bitbucket.org/cffi/cffi/changeset/825a7054d9dd/ Log:Fix the merge: I was getting confused about the numbers of testfuncs diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_back

[pypy-commit] cffi default: ffi.string() is "New in version 0.3."

2012-08-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r768:3c89c55a0292 Date: 2012-08-04 16:16 +0200 http://bitbucket.org/cffi/cffi/changeset/3c89c55a0292/ Log:ffi.string() is "New in version 0.3." diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rs

[pypy-commit] cffi default: Move a repeated piece of code before.

2012-08-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r767:ed53c57cec4a Date: 2012-08-04 16:15 +0200 http://bitbucket.org/cffi/cffi/changeset/ed53c57cec4a/ Log:Move a repeated piece of code before. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -3822,1

[pypy-commit] pypy ffi-backend: Update to the latest revision: str(), unicode() => ffi.string()

2012-08-04 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r56572:2b97229b0b44 Date: 2012-08-04 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/2b97229b0b44/ Log:Update to the latest revision: str(), unicode() => ffi.string() diff --git a/pypy/module/_cffi_backend/__init__.py b/pypy/module/_cff

[pypy-commit] pypy py3k: bah

2012-08-04 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56571:8507afb6c0ba Date: 2012-08-04 15:50 +0200 http://bitbucket.org/pypy/pypy/changeset/8507afb6c0ba/ Log:bah diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py --- a/pypy/interpreter/error.py +++ b/pypy/interpreter/error.py @@ -

[pypy-commit] pypy py3k: move the decoding of valuefmt later, else the annotation cannot determine that the argument to get_operation_class (which is memo-specialized) is a PBC

2012-08-04 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56570:9dafe9ced1da Date: 2012-08-04 15:42 +0200 http://bitbucket.org/pypy/pypy/changeset/9dafe9ced1da/ Log:move the decoding of valuefmt later, else the annotation cannot determine that the argument to get_operation_class (which is memo-

[pypy-commit] pypy py3k: we no longer need to pass unicode literals to operationerrfmt, because now the exception messages are unicode anyway

2012-08-04 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56569:c1cfe5e32d5d Date: 2012-08-04 15:20 +0200 http://bitbucket.org/pypy/pypy/changeset/c1cfe5e32d5d/ Log:we no longer need to pass unicode literals to operationerrfmt, because now the exception messages are unicode anyway diff --git a/p

[pypy-commit] pypy py3k: make all the messages computed by operationerrfmt as unicode, even if the source message is a byte string

2012-08-04 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56568:de80c62c47f3 Date: 2012-08-04 15:00 +0200 http://bitbucket.org/pypy/pypy/changeset/de80c62c47f3/ Log:make all the messages computed by operationerrfmt as unicode, even if the source message is a byte string diff --git a/pypy/interpr

[pypy-commit] pypy py3k: backout 5226ba3dc28d, I'll try another approach for unicode exception messages

2012-08-04 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56567:b8597be87794 Date: 2012-08-04 14:42 +0200 http://bitbucket.org/pypy/pypy/changeset/b8597be87794/ Log:backout 5226ba3dc28d, I'll try another approach for unicode exception messages diff --git a/pypy/interpreter/error.py b/pypy/interp

[pypy-commit] pypy py3k: backout 81cd817ffe62, I'll try another approach for unicode exception messages

2012-08-04 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56566:445a23b4a25a Date: 2012-08-04 14:42 +0200 http://bitbucket.org/pypy/pypy/changeset/445a23b4a25a/ Log:backout 81cd817ffe62, I'll try another approach for unicode exception messages diff --git a/pypy/interpreter/error.py b/pypy/interp