[pypy-commit] cffi linux-only: Verifying the typedefs, precisely enough to be able to

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: linux-only Changeset: r281:64647cdf3f43 Date: 2012-06-12 10:09 +0200 http://bitbucket.org/cffi/cffi/changeset/64647cdf3f43/ Log:Verifying the typedefs, precisely enough to be able to distinguish between typedef int x and typedef long x even

[pypy-commit] pypy default: return an absolute path: since we chdir before executing the tests, relative paths hardcoded in a global object don't work

2012-06-12 Thread antocuni
Author: Antonio Cuni anto.c...@gmail.com Branch: Changeset: r55607:dbfbba7dc013 Date: 2012-06-12 10:17 +0200 http://bitbucket.org/pypy/pypy/changeset/dbfbba7dc013/ Log:return an absolute path: since we chdir before executing the tests, relative paths hardcoded in a global object

[pypy-commit] cffi linux-only: Finish the (non-partial) struct verification. For now uses

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: linux-only Changeset: r283:a88af068780b Date: 2012-06-12 11:01 +0200 http://bitbucket.org/cffi/cffi/changeset/a88af068780b/ Log:Finish the (non-partial) struct verification. For now uses 'typeof()', which is a gcc extension. diff --git

[pypy-commit] cffi linux-only: In-progress: verify fully-declared structs.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: linux-only Changeset: r282:369b47a0aaf7 Date: 2012-06-12 10:35 +0200 http://bitbucket.org/cffi/cffi/changeset/369b47a0aaf7/ Log:In-progress: verify fully-declared structs. diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++

[pypy-commit] cffi cpy-extension: Make yet another branch in which to split ABI versus API more, and

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r284:2fb102217c6c Date: 2012-06-12 13:10 +0200 http://bitbucket.org/cffi/cffi/changeset/2fb102217c6c/ Log:Make yet another branch in which to split ABI versus API more, and try to generate a CPython C extension

[pypy-commit] cffi cpy-extension: Fixed the docstring of ffi.verify() to document the new idea.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r285:b33ba96da706 Date: 2012-06-12 14:42 +0200 http://bitbucket.org/cffi/cffi/changeset/b33ba96da706/ Log:Fixed the docstring of ffi.verify() to document the new idea. Starting on generating the CPython C extension.

[pypy-commit] cffi cpy-extension: Move the code around.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r287:7aa01dcb8332 Date: 2012-06-12 15:02 +0200 http://bitbucket.org/cffi/cffi/changeset/7aa01dcb8332/ Log:Move the code around. diff --git a/cffi/model.py b/cffi/model.py --- a/cffi/model.py +++ b/cffi/model.py @@ -26,9

[pypy-commit] pypy default: Add a bunch of @jit.dont_look_inside. Recent reorganization

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r55608:560f51d78f4b Date: 2012-06-12 15:08 +0200 http://bitbucket.org/pypy/pypy/changeset/560f51d78f4b/ Log:Add a bunch of @jit.dont_look_inside. Recent reorganization means that the jit would now try to look into perform_signal()

[pypy-commit] pypy default: fix.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: Changeset: r55609:1db4c53ea685 Date: 2012-06-12 15:09 +0200 http://bitbucket.org/pypy/pypy/changeset/1db4c53ea685/ Log:fix. diff --git a/pypy/module/signal/test/test_signal.py b/pypy/module/signal/test/test_signal.py ---

[pypy-commit] pypy ppc-backend-2: close branch to be merged

2012-06-12 Thread edelsohn
Author: edelsohn Branch: ppc-backend-2 Changeset: r55610:1372e85996ce Date: 2012-06-12 09:23 -0400 http://bitbucket.org/pypy/pypy/changeset/1372e85996ce/ Log:close branch to be merged ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy ppc-jit-backend: merge dangling commit

2012-06-12 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r55612:092c700efe63 Date: 2012-06-12 09:43 -0400 http://bitbucket.org/pypy/pypy/changeset/092c700efe63/ Log:merge dangling commit ___ pypy-commit mailing list pypy-commit@python.org

[pypy-commit] pypy arm-backend-2: merge default

2012-06-12 Thread bivab
Author: David Schneider david.schnei...@picle.org Branch: arm-backend-2 Changeset: r55614:36790dfd7dae Date: 2012-04-18 13:03 + http://bitbucket.org/pypy/pypy/changeset/36790dfd7dae/ Log:merge default diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py ---

[pypy-commit] pypy arm-backend-2: merge default

2012-06-12 Thread bivab
Author: David Schneider david.schnei...@picle.org Branch: arm-backend-2 Changeset: r55613:23d8bc08b002 Date: 2012-04-15 16:49 + http://bitbucket.org/pypy/pypy/changeset/23d8bc08b002/ Log:merge default diff --git a/_pytest/assertion/oldinterpret.py b/_pytest/assertion/oldinterpret.py ---

[pypy-commit] pypy arm-backend-2: extend timeout to work on ARM

2012-06-12 Thread bivab
Author: David Schneider david.schnei...@picle.org Branch: arm-backend-2 Changeset: r55616:ca797d4ff19c Date: 2012-05-23 09:43 + http://bitbucket.org/pypy/pypy/changeset/ca797d4ff19c/ Log:extend timeout to work on ARM diff --git a/pypy/translator/goal/test2/test_app_main.py

[pypy-commit] cffi cpy-extension: Generalize the conversions.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r288:c744188b2aae Date: 2012-06-12 15:26 +0200 http://bitbucket.org/cffi/cffi/changeset/c744188b2aae/ Log:Generalize the conversions. diff --git a/cffi/verifier.py b/cffi/verifier.py --- a/cffi/verifier.py +++

[pypy-commit] cffi cpy-extension: _cffi_to_c_char_p(). Use the technique documented in

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r289:e210108bc5d9 Date: 2012-06-12 16:03 +0200 http://bitbucket.org/cffi/cffi/changeset/e210108bc5d9/ Log:_cffi_to_c_char_p(). Use the technique documented in

[pypy-commit] cffi cpy-extension: Fix the tests, and write a general test (in-progress).

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r290:d9cb914ae4e6 Date: 2012-06-12 16:21 +0200 http://bitbucket.org/cffi/cffi/changeset/d9cb914ae4e6/ Log:Fix the tests, and write a general test (in-progress). diff --git a/cffi/verifier.py b/cffi/verifier.py ---

[pypy-commit] cffi cpy-extension: Fix tests.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r291:fd2838e95908 Date: 2012-06-12 16:29 +0200 http://bitbucket.org/cffi/cffi/changeset/fd2838e95908/ Log:Fix tests. diff --git a/cffi/verifier.py b/cffi/verifier.py --- a/cffi/verifier.py +++ b/cffi/verifier.py @@ -76,8

[pypy-commit] pypy ppc-jit-backend: Add support for convert_float_bytes_to_longlong and

2012-06-12 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r55618:635cf13e082a Date: 2012-06-12 10:46 -0400 http://bitbucket.org/pypy/pypy/changeset/635cf13e082a/ Log:Add support for convert_float_bytes_to_longlong and convert_longlong_bytes_to_float. diff --git

[pypy-commit] cffi cpy-extension: Phew. All integer types.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r292:55e6cbe5871a Date: 2012-06-12 17:17 +0200 http://bitbucket.org/cffi/cffi/changeset/55e6cbe5871a/ Log:Phew. All integer types. diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++

[pypy-commit] pypy ppc-jit-backend: (edelsohn, bivab): Cast j to float in test_stuff_translates.

2012-06-12 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r55619:97c6fa6d9229 Date: 2012-06-12 11:17 -0400 http://bitbucket.org/pypy/pypy/changeset/97c6fa6d9229/ Log:(edelsohn, bivab): Cast j to float in test_stuff_translates. diff --git a/pypy/jit/backend/ppc/test/test_ztranslation.py

[pypy-commit] pypy default: Tiny cleanup

2012-06-12 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r55620:3539192b6737 Date: 2012-06-12 10:25 -0500 http://bitbucket.org/pypy/pypy/changeset/3539192b6737/ Log:Tiny cleanup diff --git a/pypy/rlib/parsing/parsing.py b/pypy/rlib/parsing/parsing.py --- a/pypy/rlib/parsing/parsing.py

[pypy-commit] cffi cpy-extension: Fix test.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r294:5c1e560f29ed Date: 2012-06-12 17:29 +0200 http://bitbucket.org/cffi/cffi/changeset/5c1e560f29ed/ Log:Fix test. diff --git a/testing/test_parsing.py b/testing/test_parsing.py --- a/testing/test_parsing.py +++

[pypy-commit] cffi cpy-extension: Fixes.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r295:d208a83dfa24 Date: 2012-06-12 17:37 +0200 http://bitbucket.org/cffi/cffi/changeset/d208a83dfa24/ Log:Fixes. diff --git a/cffi/verifier.py b/cffi/verifier.py --- a/cffi/verifier.py +++ b/cffi/verifier.py @@ -47,7 +47,7

[pypy-commit] pypy ppc-jit-backend: Remove argument to get_basic_shape().

2012-06-12 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r55621:c075da56a9e4 Date: 2012-06-12 11:39 -0400 http://bitbucket.org/pypy/pypy/changeset/c075da56a9e4/ Log:Remove argument to get_basic_shape(). diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/jit/backend/ppc/regalloc.py ---

[pypy-commit] pypy arm-backend-2: Start fixing issues mentioned by arigo in 6bac78dc2ff5 by using sign extending operations where adequate

2012-06-12 Thread bivab
Author: David Schneider david.schnei...@picle.org Branch: arm-backend-2 Changeset: r55622:139cbf8e0924 Date: 2012-06-12 15:43 + http://bitbucket.org/pypy/pypy/changeset/139cbf8e0924/ Log:Start fixing issues mentioned by arigo in 6bac78dc2ff5 by using sign extending operations

[pypy-commit] cffi cpy-extension: Tests and fix.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r296:db9a3e7636ef Date: 2012-06-12 17:50 +0200 http://bitbucket.org/cffi/cffi/changeset/db9a3e7636ef/ Log:Tests and fix. diff --git a/cffi/verifier.py b/cffi/verifier.py --- a/cffi/verifier.py +++ b/cffi/verifier.py @@

[pypy-commit] cffi cpy-extension: A passing test checking a call to a macro.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r297:7d2ea1c438ec Date: 2012-06-12 17:52 +0200 http://bitbucket.org/cffi/cffi/changeset/7d2ea1c438ec/ Log:A passing test checking a call to a macro. diff --git a/testing/test_verify.py b/testing/test_verify.py ---

[pypy-commit] pypy default: Fix __module__ on cStringIO.String{I, O} instances.

2012-06-12 Thread alex_gaynor
Author: Alex Gaynor alex.gay...@gmail.com Branch: Changeset: r55623:f04cd8c5ccfb Date: 2012-06-12 10:54 -0500 http://bitbucket.org/pypy/pypy/changeset/f04cd8c5ccfb/ Log:Fix __module__ on cStringIO.String{I,O} instances. diff --git a/pypy/module/cStringIO/interp_stringio.py

[pypy-commit] cffi cpy-extension: An extra passing test.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r298:9b061f09da62 Date: 2012-06-12 17:58 +0200 http://bitbucket.org/cffi/cffi/changeset/9b061f09da62/ Log:An extra passing test. diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++

[pypy-commit] cffi cpy-extension: Avoid generating a platform-specific .c file.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r299:86354ee3f21e Date: 2012-06-12 18:19 +0200 http://bitbucket.org/cffi/cffi/changeset/86354ee3f21e/ Log:Avoid generating a platform-specific .c file. Instead, use #ifs in the .c file here too. diff --git

[pypy-commit] cffi cpy-extension: On 64-bit don't declare twice the same function.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r300:3ae40e3d79df Date: 2012-06-12 18:24 +0200 http://bitbucket.org/cffi/cffi/changeset/3ae40e3d79df/ Log:On 64-bit don't declare twice the same function. diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c ---

[pypy-commit] pypy stdlib-2.7.3: Add new files in the test suite

2012-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: stdlib-2.7.3 Changeset: r55624:9e62f6691df5 Date: 2012-06-12 08:14 +0200 http://bitbucket.org/pypy/pypy/changeset/9e62f6691df5/ Log:Add new files in the test suite diff --git a/lib-python/conftest.py b/lib-python/conftest.py ---

[pypy-commit] pypy stdlib-2.7.3: Implement posix.urandom for all platforms

2012-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: stdlib-2.7.3 Changeset: r55625:d426219a75b2 Date: 2012-06-12 21:16 +0200 http://bitbucket.org/pypy/pypy/changeset/d426219a75b2/ Log:Implement posix.urandom for all platforms diff --git a/pypy/module/posix/__init__.py

[pypy-commit] pypy stdlib-2.7.3: Add PyUnicode_EncodeDecimal.

2012-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: stdlib-2.7.3 Changeset: r55626:9d34d072a9e1 Date: 2012-06-12 21:16 +0200 http://bitbucket.org/pypy/pypy/changeset/9d34d072a9e1/ Log:Add PyUnicode_EncodeDecimal. Also change a bit how error handlers are used: don't always

[pypy-commit] pypy stdlib-2.7.3: Install new version of _testcapimodule.c

2012-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: stdlib-2.7.3 Changeset: r55627:ef130e60c494 Date: 2012-06-12 21:16 +0200 http://bitbucket.org/pypy/pypy/changeset/ef130e60c494/ Log:Install new version of _testcapimodule.c diff --git a/lib_pypy/_testcapimodule.c

[pypy-commit] pypy stdlib-2.7.3: merge heads

2012-06-12 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt ronny.pfannschm...@gmx.de Branch: stdlib-2.7.3 Changeset: r55630:0b6ea65c9988 Date: 2012-06-12 21:42 +0200 http://bitbucket.org/pypy/pypy/changeset/0b6ea65c9988/ Log:merge heads diff --git a/lib-python/2.7/distutils/tests/Setup.sample

[pypy-commit] pypy stdlib-2.7.3: correction merge with the vendor/stdlib branch

2012-06-12 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt ronny.pfannschm...@gmx.de Branch: stdlib-2.7.3 Changeset: r55629:1b135cf4f557 Date: 2012-06-12 21:42 +0200 http://bitbucket.org/pypy/pypy/changeset/1b135cf4f557/ Log:correction merge with the vendor/stdlib branch diff --git

[pypy-commit] pypy default: add a document describing the stdlib upgrade process for developers in excessive detail

2012-06-12 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt ronny.pfannschm...@gmx.de Branch: Changeset: r55631:a53f80a66ef8 Date: 2012-06-12 21:59 +0200 http://bitbucket.org/pypy/pypy/changeset/a53f80a66ef8/ Log:add a document describing the stdlib upgrade process for developers in excessive detail diff --git

[pypy-commit] cffi cpy-extension: Function call with pointer arguments

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r301:416b0e8ba3b5 Date: 2012-06-12 22:33 +0200 http://bitbucket.org/cffi/cffi/changeset/416b0e8ba3b5/ Log:Function call with pointer arguments diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++

[pypy-commit] pypy stdlib-2.7.3: PyUnicode_EncodeDecimal: copy all characters, and ends the buffer with \0.

2012-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: stdlib-2.7.3 Changeset: r55632:ebf8729428b4 Date: 2012-06-12 22:14 +0200 http://bitbucket.org/pypy/pypy/changeset/ebf8729428b4/ Log:PyUnicode_EncodeDecimal: copy all characters, and ends the buffer with \0. diff --git

[pypy-commit] pypy stdlib-2.7.3: CPython issue13676: sqlite3: Handle strings with embedded zeros correctly

2012-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: stdlib-2.7.3 Changeset: r55634:ca597c417799 Date: 2012-06-12 22:53 +0200 http://bitbucket.org/pypy/pypy/changeset/ca597c417799/ Log:CPython issue13676: sqlite3: Handle strings with embedded zeros correctly diff --git

[pypy-commit] pypy stdlib-2.7.3: CPython issue #13268: Don't let a tuple msg be interpreted as arguments to AssertionError

2012-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: stdlib-2.7.3 Changeset: r55633:11473d524de9 Date: 2012-06-12 22:34 +0200 http://bitbucket.org/pypy/pypy/changeset/11473d524de9/ Log:CPython issue #13268: Don't let a tuple msg be interpreted as arguments to AssertionError diff

[pypy-commit] pypy stdlib-2.7.3: CPython issue13573: The csv.writer now uses the repr() for floats rather than str(). This allows floats to round-trip without loss of precision.

2012-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc amaur...@gmail.com Branch: stdlib-2.7.3 Changeset: r55635:cc74abe554c9 Date: 2012-06-12 23:07 +0200 http://bitbucket.org/pypy/pypy/changeset/cc74abe554c9/ Log:CPython issue13573: The csv.writer now uses the repr() for floats rather than str(). This allows

[pypy-commit] cffi cpy-extension: Completing structs.

2012-06-12 Thread arigo
Author: Armin Rigo ar...@tunes.org Branch: cpy-extension Changeset: r303:b69a8e2d13a1 Date: 2012-06-12 23:24 +0200 http://bitbucket.org/cffi/cffi/changeset/b69a8e2d13a1/ Log:Completing structs. diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++ b/c/_ffi_backend.c @@

[pypy-commit] pypy default: convert comment to docstring

2012-06-12 Thread mattip
Author: mattip matti.pi...@gmail.com Branch: Changeset: r55636:b5f81e7709a3 Date: 2012-06-13 08:53 +0300 http://bitbucket.org/pypy/pypy/changeset/b5f81e7709a3/ Log:convert comment to docstring diff --git a/pypy/module/_ffi/test/test_funcptr.py b/pypy/module/_ffi/test/test_funcptr.py ---