[pypy-commit] pypy vmprof-review: hg merge default

2015-07-01 Thread arigo
Author: Armin Rigo Branch: vmprof-review Changeset: r78368:81c9b346a396 Date: 2015-06-30 17:23 +0200 http://bitbucket.org/pypy/pypy/changeset/81c9b346a396/ Log:hg merge default diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py --- a/rpython/translator/c/genc.py +++ b/r

[pypy-commit] pypy vmprof-review: starting rvmprof

2015-07-01 Thread arigo
Author: Armin Rigo Branch: vmprof-review Changeset: r78369:af777b42cf86 Date: 2015-06-30 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/af777b42cf86/ Log:starting rvmprof diff --git a/rpython/rlib/rvmprof/rvmprof.py b/rpython/rlib/rvmprof/rvmprof.py new file mode 100644 --- /dev/null +

[pypy-commit] pypy default: Issue #867: backport CPython's 92656b5df2f2

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78370:0dd6dbaecd11 Date: 2015-07-01 10:14 +0200 http://bitbucket.org/pypy/pypy/changeset/0dd6dbaecd11/ Log:Issue #867: backport CPython's 92656b5df2f2 diff --git a/lib-python/2.7/test/test_urllib2.py b/lib-python/2.7/test/test_urllib2.py --- a/lib-pyt

[pypy-commit] pypy optresult-unroll: start writing more direct unrolling tests

2015-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: optresult-unroll Changeset: r78372:d655c193c36a Date: 2015-07-01 11:13 +0200 http://bitbucket.org/pypy/pypy/changeset/d655c193c36a/ Log:start writing more direct unrolling tests diff --git a/rpython/jit/metainterp/optimizeopt/test/test_unroll.py b/rpython/

[pypy-commit] pypy optresult-unroll: fix handling of inputargs

2015-07-01 Thread fijal
Author: Maciej Fijalkowski Branch: optresult-unroll Changeset: r78371:854053774fc4 Date: 2015-07-01 10:21 +0200 http://bitbucket.org/pypy/pypy/changeset/854053774fc4/ Log:fix handling of inputargs diff --git a/rpython/jit/metainterp/optimizeopt/unroll.py b/rpython/jit/metainterp/optimizeopt

[pypy-commit] pypy default: Fix for test_meta_path_import_star_2

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78374:e83ef97376fe Date: 2015-07-01 11:08 +0200 http://bitbucket.org/pypy/pypy/changeset/e83ef97376fe/ Log:Fix for test_meta_path_import_star_2 diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/importing.py --- a/pypy/module/imp/importing.py

[pypy-commit] pypy default: Issue #1708: two tests that fail (probably showing two different bugs)

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78373:66c5ff3cad3c Date: 2015-07-01 10:58 +0200 http://bitbucket.org/pypy/pypy/changeset/66c5ff3cad3c/ Log:Issue #1708: two tests that fail (probably showing two different bugs) diff --git a/pypy/module/imp/test/test_import.py b/pypy/module/im

[pypy-commit] pypy default: Skip the other test with a comment.

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78375:811532eaa04d Date: 2015-07-01 11:24 +0200 http://bitbucket.org/pypy/pypy/changeset/811532eaa04d/ Log:Skip the other test with a comment. diff --git a/pypy/module/imp/test/test_import.py b/pypy/module/imp/test/test_import.py --- a/pypy/module/imp

[pypy-commit] pypy vecopt: correctly emit reduction operation in a guard exit that compiles a bridge (was missing before)

2015-07-01 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78376:ac77811327eb Date: 2015-07-01 12:35 +0200 http://bitbucket.org/pypy/pypy/changeset/ac77811327eb/ Log:correctly emit reduction operation in a guard exit that compiles a bridge (was missing before) added prod(...) as accumulator

[pypy-commit] pypy default: Untested: try to fix an issue where the ctypes callback is invoked

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78377:03f531cb70fe Date: 2015-07-01 13:08 +0200 http://bitbucket.org/pypy/pypy/changeset/03f531cb70fe/ Log:Untested: try to fix an issue where the ctypes callback is invoked in some unexpected thread diff --git a/pypy/module/_rawffi/callback.py

[pypy-commit] pypy vecopt: resolving issues with * accumulation, there where some assembler routines i did not implement correctly (but where not invoked beforehand)

2015-07-01 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78378:88fff9cde657 Date: 2015-07-01 13:48 +0200 http://bitbucket.org/pypy/pypy/changeset/88fff9cde657/ Log:resolving issues with * accumulation, there where some assembler routines i did not implement correctly (but where not invoked

pypy-commit@python.org

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78379:c9045acfde4a Date: 2015-07-01 14:22 +0200 http://bitbucket.org/pypy/pypy/changeset/c9045acfde4a/ Log:Return 1, not '(int)&W_IntObject1' diff --git a/pypy/module/cpyext/buffer.py b/pypy/module/cpyext/buffer.py --- a/pypy/module/cpyext/buffer.py ++

[pypy-commit] pypy default: Don't use 'rffi.cast(rffi.UINT, pointer)'! This casts to a 32-bit

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78380:90e5ecacb270 Date: 2015-07-01 14:38 +0200 http://bitbucket.org/pypy/pypy/changeset/90e5ecacb270/ Log:Don't use 'rffi.cast(rffi.UINT, pointer)'! This casts to a 32-bit integer, not a full machine-word integer. diff --git a/pypy/module/_ssl

[pypy-commit] pypy default: Copy this thread initialization logic from module/_cffi_backend/ccallback.py

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78381:9f9765fe1fa0 Date: 2015-07-01 15:22 +0200 http://bitbucket.org/pypy/pypy/changeset/9f9765fe1fa0/ Log:Copy this thread initialization logic from module/_cffi_backend/ccallback.py diff --git a/pypy/module/_rawffi/callback.py b/pypy/module/_

[pypy-commit] pypy vecopt: restricted input size for vectorization to 75 operations max (dont see any chance for it to succeed with more than 20-30 operations)

2015-07-01 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78383:a01f8e4831c4 Date: 2015-07-01 18:05 +0200 http://bitbucket.org/pypy/pypy/changeset/a01f8e4831c4/ Log:restricted input size for vectorization to 75 operations max (dont see any chance for it to succeed with more than 20-30 opera

[pypy-commit] pypy vecopt: updated docs

2015-07-01 Thread plan_rich
Author: Richard Plangger Branch: vecopt Changeset: r78382:c878b10c3713 Date: 2015-07-01 16:05 +0200 http://bitbucket.org/pypy/pypy/changeset/c878b10c3713/ Log:updated docs diff --git a/rpython/doc/jit/vectorization.rst b/rpython/doc/jit/vectorization.rst --- a/rpython/doc/jit/vectorization.

[pypy-commit] pypy default: Minor optimization

2015-07-01 Thread arigo
Author: Armin Rigo Branch: Changeset: r78384:e99ce6af254c Date: 2015-07-01 19:08 +0200 http://bitbucket.org/pypy/pypy/changeset/e99ce6af254c/ Log:Minor optimization diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobject.py +++ b/pyp

[pypy-commit] pypy int-float-list-strategy: A branch to try out the list-of-ints-or-floats strategy

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78385:bc456eaaec25 Date: 2015-07-01 19:08 +0200 http://bitbucket.org/pypy/pypy/changeset/bc456eaaec25/ Log:A branch to try out the list-of-ints-or-floats strategy ___ pypy-commit mailin

[pypy-commit] pypy int-float-list-strategy: in-progress

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78386:d38f6591e679 Date: 2015-07-01 19:18 +0200 http://bitbucket.org/pypy/pypy/changeset/d38f6591e679/ Log:in-progress diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobj

[pypy-commit] pypy int-float-list-strategy: more tests

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78387:75683789a8bd Date: 2015-07-01 19:24 +0200 http://bitbucket.org/pypy/pypy/changeset/75683789a8bd/ Log:more tests diff --git a/pypy/objspace/std/test/test_liststrategies.py b/pypy/objspace/std/test/test_liststrategies.py ---

[pypy-commit] pypy int-float-list-strategy: More tests, and float -> int-or-float

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78390:12404829e22a Date: 2015-07-01 23:17 +0200 http://bitbucket.org/pypy/pypy/changeset/12404829e22a/ Log:More tests, and float -> int-or-float diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a

[pypy-commit] pypy int-float-list-strategy: Start writing the strategy

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78388:2e22e8a3d2d4 Date: 2015-07-01 22:15 +0200 http://bitbucket.org/pypy/pypy/changeset/2e22e8a3d2d4/ Log:Start writing the strategy diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objsp

[pypy-commit] pypy int-float-list-strategy: int -> int-or-float

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78389:4ed327cd6401 Date: 2015-07-01 23:03 +0200 http://bitbucket.org/pypy/pypy/changeset/4ed327cd6401/ Log:int -> int-or-float diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std

[pypy-commit] pypy int-float-list-strategy: Some skipped tests (for later maybe)

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78391:4cfaef813f82 Date: 2015-07-01 23:26 +0200 http://bitbucket.org/pypy/pypy/changeset/4cfaef813f82/ Log:Some skipped tests (for later maybe) diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/

[pypy-commit] pypy int-float-list-strategy: int-or-float sort()

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78392:a46ca0349945 Date: 2015-07-01 23:37 +0200 http://bitbucket.org/pypy/pypy/changeset/a46ca0349945/ Log:int-or-float sort() diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std

[pypy-commit] pypy int-float-list-strategy: Support the (likely) most common mixed cases:

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78393:8e7ea72a85bf Date: 2015-07-01 23:53 +0200 http://bitbucket.org/pypy/pypy/changeset/8e7ea72a85bf/ Log:Support the (likely) most common mixed cases: [int-or-float].extend([int]) [int-or-float].extend([float

[pypy-commit] pypy int-float-list-strategy: These two cases are now implemented

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78394:be46d1ff397d Date: 2015-07-01 23:54 +0200 http://bitbucket.org/pypy/pypy/changeset/be46d1ff397d/ Log:These two cases are now implemented diff --git a/pypy/objspace/std/test/test_liststrategies.py b/pypy/objspace/std/test/t

[pypy-commit] pypy int-float-list-strategy: Add comment

2015-07-01 Thread arigo
Author: Armin Rigo Branch: int-float-list-strategy Changeset: r78395:e00563965dbd Date: 2015-07-02 00:10 +0200 http://bitbucket.org/pypy/pypy/changeset/e00563965dbd/ Log:Add comment diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobj

[pypy-commit] pypy py3k: Fix syntax error.

2015-07-01 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r78396:378aaa60e293 Date: 2015-07-02 01:46 +0200 http://bitbucket.org/pypy/pypy/changeset/378aaa60e293/ Log:Fix syntax error. diff --git a/pypy/module/_io/test/test_io.py b/pypy/module/_io/test/test_io.py --- a/pypy/module/_io/test/test_io.py +++

[pypy-commit] pypy py3k: hg merge default

2015-07-01 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r78397:2ac10a3a0884 Date: 2015-07-02 01:54 +0200 http://bitbucket.org/pypy/pypy/changeset/2ac10a3a0884/ Log:hg merge default diff --git a/lib-python/2.7/test/test_urllib2.py b/lib-python/2.7/test/test_urllib2.py --- a/lib-python/2.7/test/test_url