[pypy-commit] pypy default: Merged in exctrans (pull request #390)

2016-01-26 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r81955:467f4a616ad1 Date: 2016-01-26 20:39 + http://bitbucket.org/pypy/pypy/changeset/467f4a616ad1/ Log:Merged in exctrans (pull request #390) Some refactoring of databasing diff --git a/rpython/memory/gctransform/boehm.py b/rpython/memory

[pypy-commit] pypy exctrans: Close branch exctrans

2016-01-26 Thread rlamy
Author: Ronan Lamy Branch: exctrans Changeset: r81954:e953e5f78446 Date: 2016-01-26 20:39 + http://bitbucket.org/pypy/pypy/changeset/e953e5f78446/ Log:Close branch exctrans ___ pypy-commit mailing list pypy-commit@python.org https://mail.python

[pypy-commit] pypy default: Document branch 'exctrans'

2016-01-27 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r81982:a27b8ecd898e Date: 2016-01-27 18:23 + http://bitbucket.org/pypy/pypy/changeset/a27b8ecd898e/ Log:Document branch 'exctrans' diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/w

[pypy-commit] pypy SomeRange: Separate bk.newrange() from bk.newlist()

2016-01-30 Thread rlamy
Author: Ronan Lamy Branch: SomeRange Changeset: r82006:02f319beadff Date: 2016-01-30 04:47 + http://bitbucket.org/pypy/pypy/changeset/02f319beadff/ Log:Separate bk.newrange() from bk.newlist() diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py --- a/rpython/an

[pypy-commit] pypy SomeRange: Make range() lists immutable

2016-01-30 Thread rlamy
Author: Ronan Lamy Branch: SomeRange Changeset: r82009:3b3f8cea104f Date: 2016-01-30 18:16 + http://bitbucket.org/pypy/pypy/changeset/3b3f8cea104f/ Log:Make range() lists immutable diff --git a/rpython/annotator/binaryop.py b/rpython/annotator/binaryop.py --- a/rpython/annotator/binaryop

[pypy-commit] pypy SomeRange: Inline bk.getlistdef()

2016-01-30 Thread rlamy
Author: Ronan Lamy Branch: SomeRange Changeset: r82007:b1921df13e50 Date: 2016-01-30 06:03 + http://bitbucket.org/pypy/pypy/changeset/b1921df13e50/ Log:Inline bk.getlistdef() diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py --- a/rpython/annotator/bookkeeper

[pypy-commit] pypy SomeRange: Merge rpython.rtyper.lltypesystem.rrange into rpython.rtyper.rrange

2016-01-30 Thread rlamy
Author: Ronan Lamy Branch: SomeRange Changeset: r82005:d458d86b6ce2 Date: 2016-01-29 19:08 + http://bitbucket.org/pypy/pypy/changeset/d458d86b6ce2/ Log:Merge rpython.rtyper.lltypesystem.rrange into rpython.rtyper.rrange diff --git a/rpython/rtyper/lltypesystem/rrange.py b/rpython/rtyper

[pypy-commit] pypy SomeRange: Create SomeRange class

2016-01-30 Thread rlamy
Author: Ronan Lamy Branch: SomeRange Changeset: r82008:273c3ace813a Date: 2016-01-30 17:40 + http://bitbucket.org/pypy/pypy/changeset/273c3ace813a/ Log:Create SomeRange class diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py --- a/rpython/annotator/bookkeeper

[pypy-commit] pypy py3k: fix

2016-02-01 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r82035:2f9a601ed994 Date: 2016-02-01 16:29 + http://bitbucket.org/pypy/pypy/changeset/2f9a601ed994/ Log:fix diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/module/cpyext/api.py @@ -44

[pypy-commit] pypy py3k: fix merge

2016-02-01 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r82037:fbbd055f16fa Date: 2016-02-01 17:03 + http://bitbucket.org/pypy/pypy/changeset/fbbd055f16fa/ Log:fix merge diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py --- a/pypy/objspace/std/dictmultiobject.p

[pypy-commit] pypy py3k: PyIntObject does not exist in py3k

2016-02-01 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r82034:f57006f9cb96 Date: 2016-02-01 16:21 + http://bitbucket.org/pypy/pypy/changeset/f57006f9cb96/ Log:PyIntObject does not exist in py3k diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/p

[pypy-commit] pypy default: Make apptests more 3-friendly

2016-02-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82049:babeead98057 Date: 2016-02-02 17:10 + http://bitbucket.org/pypy/pypy/changeset/babeead98057/ Log:Make apptests more 3-friendly diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py --- a/pypy/modu

[pypy-commit] pypy default: Kill randomly vendored obsolete version of pytest_cov

2016-02-03 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82060:643912e63967 Date: 2016-02-03 16:56 + http://bitbucket.org/pypy/pypy/changeset/643912e63967/ Log:Kill randomly vendored obsolete version of pytest_cov diff --git a/pypy/test_all.py b/pypy/test_all.py --- a/pypy/test_all.py +++ b/pypy/test_all

[pypy-commit] pypy default: Handle pdb.set_trace() in rpython/annotator/builtin.py

2016-02-04 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82074:e5eb901ac085 Date: 2016-02-04 16:33 + http://bitbucket.org/pypy/pypy/changeset/e5eb901ac085/ Log:Handle pdb.set_trace() in rpython/annotator/builtin.py diff --git a/rpython/annotator/builtin.py b/rpython/annotator/builtin.py --- a/rpython/ann

[pypy-commit] pypy default: Use the correct exceptions in rpython/annotator/builtin.py

2016-02-04 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82075:b8933a584083 Date: 2016-02-04 16:46 + http://bitbucket.org/pypy/pypy/changeset/b8933a584083/ Log:Use the correct exceptions in rpython/annotator/builtin.py diff --git a/rpython/annotator/builtin.py b/rpython/annotator/builtin.py --- a/rpython

[pypy-commit] pypy default: Create rpython.rtyper.debug and move ll_assert() and fatalerror() there.

2016-02-05 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82091:45cce2525cc9 Date: 2016-02-05 03:45 + http://bitbucket.org/pypy/pypy/changeset/45cce2525cc9/ Log:Create rpython.rtyper.debug and move ll_assert() and fatalerror() there. This reduces the number of imports from rpython/rtyper/

[pypy-commit] pypy default: Use regular register_external() call for attach_gdb()

2016-02-05 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82092:e415ef72b422 Date: 2016-02-05 17:26 + http://bitbucket.org/pypy/pypy/changeset/e415ef72b422/ Log:Use regular register_external() call for attach_gdb() diff --git a/rpython/rlib/debug.py b/rpython/rlib/debug.py --- a/rpython/rlib/debug.py +++

[pypy-commit] pypy default: forgot to add rpython/rtyper/debug.py

2016-02-05 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82093:ca082804de94 Date: 2016-02-05 19:29 + http://bitbucket.org/pypy/pypy/changeset/ca082804de94/ Log:forgot to add rpython/rtyper/debug.py diff --git a/rpython/rtyper/debug.py b/rpython/rtyper/debug.py new file mode 100644 --- /dev/null +++ b/rpy

[pypy-commit] pypy llimpl: Hack the functionptr when passing an llexternal as llimpl in register_external()

2016-02-06 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82104:58ecd8c5102c Date: 2016-02-07 02:00 + http://bitbucket.org/pypy/pypy/changeset/58ecd8c5102c/ Log:Hack the functionptr when passing an llexternal as llimpl in register_external() diff --git a/rpython/rtyper/extfunc.py b/rpython/r

[pypy-commit] pypy llimpl: Create rtyper.backend and use it to choose the implementation when using register_external()

2016-02-07 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82108:cea1893831f4 Date: 2016-02-07 18:40 + http://bitbucket.org/pypy/pypy/changeset/cea1893831f4/ Log:Create rtyper.backend and use it to choose the implementation when using register_external() diff --git a/rpython/memory/test/test_

[pypy-commit] pypy llimpl: Extract some code out of ExtFuncEntry

2016-02-07 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82107:ad357db1fd3f Date: 2016-02-07 02:01 + http://bitbucket.org/pypy/pypy/changeset/ad357db1fd3f/ Log:Extract some code out of ExtFuncEntry diff --git a/rpython/rtyper/extfunc.py b/rpython/rtyper/extfunc.py --- a/rpython/rtyper/extfunc.py ++

[pypy-commit] pypy llimpl: fix gctransform tests

2016-02-07 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82109:d6f84983b21e Date: 2016-02-07 20:21 + http://bitbucket.org/pypy/pypy/changeset/d6f84983b21e/ Log:fix gctransform tests diff --git a/rpython/memory/gctransform/test/test_transform.py b/rpython/memory/gctransform/test/test_transform.py -

[pypy-commit] pypy llimpl: Don't hack the funcptr in register_external()

2016-02-07 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82110:5c4c76a4b9c4 Date: 2016-02-07 20:42 + http://bitbucket.org/pypy/pypy/changeset/5c4c76a4b9c4/ Log:Don't hack the funcptr in register_external() diff --git a/rpython/rtyper/extfunc.py b/rpython/rtyper/extfunc.py --- a/rpython/rtyper/extfu

[pypy-commit] pypy llimpl: ExtFuncEntry always has a .name defined

2016-02-07 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82112:1a459b2a58cb Date: 2016-02-08 02:36 + http://bitbucket.org/pypy/pypy/changeset/1a459b2a58cb/ Log:ExtFuncEntry always has a .name defined diff --git a/rpython/rtyper/extfunc.py b/rpython/rtyper/extfunc.py --- a/rpython/rtyper/extfunc.py

[pypy-commit] pypy llimpl: '_fakeimpl' is not used any more

2016-02-07 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82111:ec8879a186b6 Date: 2016-02-08 02:35 + http://bitbucket.org/pypy/pypy/changeset/ec8879a186b6/ Log:'_fakeimpl' is not used any more diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py --- a/rpython/rtyper/llinterp.py +++

[pypy-commit] pypy llimpl: Remove undocumented and unused alternative input types for 'args' in register_external()

2016-02-08 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82115:729ec6bd5cd5 Date: 2016-02-08 15:50 + http://bitbucket.org/pypy/pypy/changeset/729ec6bd5cd5/ Log:Remove undocumented and unused alternative input types for 'args' in register_external() diff --git a/rpython/rtyper/extfunc.py b/r

[pypy-commit] pypy llimpl: Test register_external(), not its internal implementation

2016-02-08 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82116:d159c6726d45 Date: 2016-02-08 17:04 + http://bitbucket.org/pypy/pypy/changeset/d159c6726d45/ Log:Test register_external(), not its internal implementation diff --git a/rpython/rtyper/test/test_extfunc.py b/rpython/rtyper/test/test_extf

[pypy-commit] pypy llimpl: Compute signature eagerly in register_external()

2016-02-08 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82119:c1b013088ffd Date: 2016-02-09 02:13 + http://bitbucket.org/pypy/pypy/changeset/c1b013088ffd/ Log:Compute signature eagerly in register_external() diff --git a/rpython/rtyper/extfunc.py b/rpython/rtyper/extfunc.py --- a/rpython/rtyper/ex

[pypy-commit] pypy llimpl: Sandbox externals during annotation

2016-02-09 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82125:e2ae384cca29 Date: 2016-02-09 05:08 + http://bitbucket.org/pypy/pypy/changeset/e2ae384cca29/ Log:Sandbox externals during annotation diff --git a/rpython/rtyper/extfunc.py b/rpython/rtyper/extfunc.py --- a/rpython/rtyper/extfunc.py +++

[pypy-commit] pypy llimpl: Simplify ExtFuncEntry.specialize_call() by extracting .get_funcptr()

2016-02-09 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82126:8ac8fbad47de Date: 2016-02-09 16:16 + http://bitbucket.org/pypy/pypy/changeset/8ac8fbad47de/ Log:Simplify ExtFuncEntry.specialize_call() by extracting .get_funcptr() diff --git a/rpython/rtyper/extfunc.py b/rpython/rtyper/extfunc.py ---

[pypy-commit] pypy llimpl: Fix --sandbox translation

2016-02-14 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82247:44df4ef6c185 Date: 2016-02-14 16:39 + http://bitbucket.org/pypy/pypy/changeset/44df4ef6c185/ Log:Fix --sandbox translation diff --git a/rpython/annotator/policy.py b/rpython/annotator/policy.py --- a/rpython/annotator/policy.py +++ b/rp

[pypy-commit] pypy default: Remove dead code: Bookkeeper._find_current_op()

2016-02-15 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82271:4bec5c63bc9e Date: 2016-02-15 17:42 + http://bitbucket.org/pypy/pypy/changeset/4bec5c63bc9e/ Log:Remove dead code: Bookkeeper._find_current_op() diff --git a/rpython/annotator/bookkeeper.py b/rpython/annotator/bookkeeper.py --- a/rpython/anno

[pypy-commit] pypy llimpl: Create SomeExternalFunction, clean up signature checking and sandboxing of externals

2016-02-15 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82275:7b8f4a3f1bd2 Date: 2016-02-16 04:17 + http://bitbucket.org/pypy/pypy/changeset/7b8f4a3f1bd2/ Log:Create SomeExternalFunction, clean up signature checking and sandboxing of externals diff --git a/rpython/annotator/policy.py b/rpy

[pypy-commit] pypy llimpl: hg merge default

2016-02-15 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82274:e6a89c683651 Date: 2016-02-15 17:45 + http://bitbucket.org/pypy/pypy/changeset/e6a89c683651/ Log:hg merge default diff too long, truncating to 2000 out of 3299 lines diff --git a/lib-python/2.7/distutils/command/build_ext.py b/lib-pyt

[pypy-commit] pypy llimpl: SomeExternalFunction does not subclass SomeBuiltin any more

2016-02-16 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82298:25d639caec04 Date: 2016-02-16 05:02 + http://bitbucket.org/pypy/pypy/changeset/25d639caec04/ Log:SomeExternalFunction does not subclass SomeBuiltin any more diff --git a/rpython/rtyper/extfunc.py b/rpython/rtyper/extfunc.py --- a/rpytho

[pypy-commit] pypy llimpl: Create ExternalFunctionRepr

2016-02-16 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82299:24d569eefdf9 Date: 2016-02-16 18:13 + http://bitbucket.org/pypy/pypy/changeset/24d569eefdf9/ Log:Create ExternalFunctionRepr diff --git a/rpython/rtyper/extfunc.py b/rpython/rtyper/extfunc.py --- a/rpython/rtyper/extfunc.py +++ b/rpytho

[pypy-commit] pypy default: update whatsnew

2016-02-17 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82317:1b11375c5116 Date: 2016-02-17 23:00 + http://bitbucket.org/pypy/pypy/changeset/1b11375c5116/ Log:update whatsnew diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whatsnew-hea

[pypy-commit] pypy llimpl: Close branch before merging

2016-02-17 Thread rlamy
Author: Ronan Lamy Branch: llimpl Changeset: r82315:691635e5fdfb Date: 2016-02-17 22:56 + http://bitbucket.org/pypy/pypy/changeset/691635e5fdfb/ Log:Close branch before merging ___ pypy-commit mailing list pypy-commit@python.org https://mail.py

[pypy-commit] pypy default: Merge branch 'llimpl'

2016-02-17 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82316:4c30448f0457 Date: 2016-02-17 22:59 + http://bitbucket.org/pypy/pypy/changeset/4c30448f0457/ Log:Merge branch 'llimpl' Refactor register_external(), remove running_on_llinterp mechanism and apply sandbox transform on externals

[pypy-commit] pypy default: kill unused make_constgraphbuilder()

2016-02-17 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82318:6f907027fbb2 Date: 2016-02-17 23:18 + http://bitbucket.org/pypy/pypy/changeset/6f907027fbb2/ Log:kill unused make_constgraphbuilder() diff --git a/rpython/annotator/specialize.py b/rpython/annotator/specialize.py --- a/rpython/annotator/speci

[pypy-commit] pypy desc-specialize: Create annotator.using_policy() context manager

2016-02-19 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82327:f979a9068595 Date: 2016-02-19 17:16 + http://bitbucket.org/pypy/pypy/changeset/f979a9068595/ Log:Create annotator.using_policy() context manager diff --git a/rpython/annotator/annrpython.py b/rpython/annotator/annrpython.py ---

[pypy-commit] pypy desc-specialize: Extract method init_specializer()

2016-02-19 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82326:0b89e9760cd8 Date: 2016-02-18 05:23 + http://bitbucket.org/pypy/pypy/changeset/0b89e9760cd8/ Log:Extract method init_specializer() diff --git a/rpython/annotator/description.py b/rpython/annotator/description.py --- a/rpython/a

[pypy-commit] pypy desc-specialize: Initialize funcdesc.specializer in FunctionDesc.__init__ and ensure the right annotator policy is active at the time

2016-02-20 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82339:cf1b6e045f41 Date: 2016-02-20 10:19 + http://bitbucket.org/pypy/pypy/changeset/cf1b6e045f41/ Log:Initialize funcdesc.specializer in FunctionDesc.__init__ and ensure the right annotator policy is active at the time diff

[pypy-commit] pypy desc-specialize: Simplify FunctionDesc.__init__ and use factory method bk.newfuncdesc() instead

2016-02-21 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82352:fe52b15deb73 Date: 2016-02-20 13:51 + http://bitbucket.org/pypy/pypy/changeset/fe52b15deb73/ Log:Simplify FunctionDesc.__init__ and use factory method bk.newfuncdesc() instead diff --git a/rpython/annotator/bookkeeper.p

[pypy-commit] pypy desc-specialize: normalise funcdesc.defaults

2016-02-21 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82354:8eba3a267336 Date: 2016-02-20 17:03 +0100 http://bitbucket.org/pypy/pypy/changeset/8eba3a267336/ Log:normalise funcdesc.defaults diff --git a/rpython/annotator/description.py b/rpython/annotator/description.py --- a/rpython/annotat

[pypy-commit] pypy desc-specialize: Extract new function all_values() from memo()

2016-02-21 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82353:0e58f82655b2 Date: 2016-02-20 16:48 +0100 http://bitbucket.org/pypy/pypy/changeset/0e58f82655b2/ Log:Extract new function all_values() from memo() diff --git a/rpython/annotator/specialize.py b/rpython/annotator/specialize.py --- a

[pypy-commit] pypy cpyext-gc-support-2: Fix merge

2016-02-22 Thread rlamy
Author: Ronan Lamy Branch: cpyext-gc-support-2 Changeset: r82400:8a2af16e80dc Date: 2016-02-22 17:45 +0100 http://bitbucket.org/pypy/pypy/changeset/8a2af16e80dc/ Log:Fix merge diff --git a/pypy/module/cpyext/tupleobject.py b/pypy/module/cpyext/tupleobject.py --- a/pypy/module/cpyext/tupleob

[pypy-commit] pypy cpyext-gc-support-2: fix references to .instancetypedef

2016-02-22 Thread rlamy
Author: Ronan Lamy Branch: cpyext-gc-support-2 Changeset: r82401:f7a259fbc9f7 Date: 2016-02-22 18:07 +0100 http://bitbucket.org/pypy/pypy/changeset/f7a259fbc9f7/ Log:fix references to .instancetypedef diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext

[pypy-commit] pypy cpyext-ext: hg merge default

2016-02-23 Thread rlamy
Author: Ronan Lamy Branch: cpyext-ext Changeset: r82438:7fad651c7daf Date: 2016-02-23 14:39 +0100 http://bitbucket.org/pypy/pypy/changeset/7fad651c7daf/ Log:hg merge default diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/w

[pypy-commit] pypy cpyext-ext: fix test: types which have the same size as PyObject should not cause instance layout conflicts

2016-02-23 Thread rlamy
Author: Ronan Lamy Branch: cpyext-ext Changeset: r82442:7ee3179525f3 Date: 2016-02-23 15:33 +0100 http://bitbucket.org/pypy/pypy/changeset/7ee3179525f3/ Log:fix test: types which have the same size as PyObject should not cause instance layout conflicts diff --git a/pypy/module/cpyext

[pypy-commit] pypy cpyext-ext: Fix for running -A cpyext tests

2016-02-23 Thread rlamy
Author: Ronan Lamy Branch: cpyext-ext Changeset: r82443:cf846c1b0068 Date: 2016-02-23 16:07 +0100 http://bitbucket.org/pypy/pypy/changeset/cf846c1b0068/ Log:Fix for running -A cpyext tests diff --git a/pypy/module/cpyext/test/test_cpyext.py b/pypy/module/cpyext/test/test_cpyext.py --- a/pyp

[pypy-commit] pypy cpyext-ext: Manually expand obscure macro

2016-02-23 Thread rlamy
Author: Ronan Lamy Branch: cpyext-ext Changeset: r82454:58459ae8908d Date: 2016-02-23 18:17 +0100 http://bitbucket.org/pypy/pypy/changeset/58459ae8908d/ Log:Manually expand obscure macro diff --git a/pypy/module/cpyext/test/foo.c b/pypy/module/cpyext/test/foo.c --- a/pypy/module/cpyext/test/

[pypy-commit] pypy desc-specialize: Extract normalize_args() method out of funcdesc.specialize

2016-02-24 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82483:5089fd09c1d1 Date: 2016-02-24 15:47 +0100 http://bitbucket.org/pypy/pypy/changeset/5089fd09c1d1/ Log:Extract normalize_args() method out of funcdesc.specialize diff --git a/rpython/annotator/description.py b/rpython/annotator/descr

[pypy-commit] pypy desc-specialize: Use @specialize decorators instead of direct assignments to ._annspecialcase_

2016-02-24 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82482:fd243b77d69b Date: 2016-02-21 15:00 +0100 http://bitbucket.org/pypy/pypy/changeset/fd243b77d69b/ Log:Use @specialize decorators instead of direct assignments to ._annspecialcase_ diff --git a/pypy/interpreter/baseobjspace.p

[pypy-commit] pypy desc-specialize: Create special FunctionDesc subclass for @specialize.memo() functions

2016-02-25 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82490:67633b1da4fa Date: 2016-02-24 19:00 +0100 http://bitbucket.org/pypy/pypy/changeset/67633b1da4fa/ Log:Create special FunctionDesc subclass for @specialize.memo() functions diff --git a/rpython/annotator/bookkeeper.py b/rpyth

[pypy-commit] pypy desc-specialize: fixes

2016-02-25 Thread rlamy
Author: Ronan Lamy Branch: desc-specialize Changeset: r82491:aef099eea410 Date: 2016-02-25 10:06 +0100 http://bitbucket.org/pypy/pypy/changeset/aef099eea410/ Log:fixes diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/module/cpyext/

[pypy-commit] pypy cpyext-ext: Fix refcount bug in test

2016-02-25 Thread rlamy
Author: Ronan Lamy Branch: cpyext-ext Changeset: r82513:4f809c093ddd Date: 2016-02-25 17:00 +0100 http://bitbucket.org/pypy/pypy/changeset/4f809c093ddd/ Log:Fix refcount bug in test diff --git a/pypy/module/cpyext/test/test_dictobject.py b/pypy/module/cpyext/test/test_dictobject.py --- a/py

[pypy-commit] pypy default: Use skipif in tests instead of manually emulating it

2016-02-26 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82563:4a5b9f2b35f5 Date: 2016-02-26 14:13 +0100 http://bitbucket.org/pypy/pypy/changeset/4a5b9f2b35f5/ Log:Use skipif in tests instead of manually emulating it diff --git a/rpython/rlib/test/test_posix.py b/rpython/rlib/test/test_posix.py --- a/rpython

[pypy-commit] pypy py3.3: Fix test so that the truncate() call actually fails

2016-02-26 Thread rlamy
Author: Ronan Lamy Branch: py3.3 Changeset: r82565:2d2859fe2901 Date: 2016-02-26 14:44 +0100 http://bitbucket.org/pypy/pypy/changeset/2d2859fe2901/ Log:Fix test so that the truncate() call actually fails diff --git a/pypy/module/posix/test/test_posix2.py b/pypy/module/posix/test/test_posix2

[pypy-commit] pypy default: Avoid using deprecated pytest features (i.e. yielding test cases and using test methods instead of test functions)

2016-02-27 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82589:96f67d31a0af Date: 2016-02-27 16:18 +0100 http://bitbucket.org/pypy/pypy/changeset/96f67d31a0af/ Log:Avoid using deprecated pytest features (i.e. yielding test cases and using test methods instead of test functions) diff --git a/rpython/r

[pypy-commit] pypy default: Simplify tests by using a dict as the reference.

2016-02-27 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82592:56afe29ed2bf Date: 2016-02-27 16:35 +0100 http://bitbucket.org/pypy/pypy/changeset/56afe29ed2bf/ Log:Simplify tests by using a dict as the reference. diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpytho

[pypy-commit] pypy default: merge heads

2016-02-28 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82601:fd41d042c08e Date: 2016-02-28 17:42 + http://bitbucket.org/pypy/pypy/changeset/fd41d042c08e/ Log:merge heads diff --git a/rpython/memory/gctransform/boehm.py b/rpython/memory/gctransform/boehm.py --- a/rpython/memory/gctransform/boehm.py +++

[pypy-commit] pypy default: Create stateful hypothesis test for rdict.

2016-02-28 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82600:9053529ba3ba Date: 2016-02-28 17:24 + http://bitbucket.org/pypy/pypy/changeset/9053529ba3ba/ Log:Create stateful hypothesis test for rdict. This will eventually replace test_stress() and test_stress_2() diff --git a/rpython/rtyper/te

[pypy-commit] pypy default: Move execute_step() implementation to the Action subclasses

2016-02-29 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82613:a1d15704499c Date: 2016-02-29 15:24 + http://bitbucket.org/pypy/pypy/changeset/a1d15704499c/ Log:Move execute_step() implementation to the Action subclasses diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py -

[pypy-commit] pypy default: Add clear() and copy() actions

2016-02-29 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82614:b212924f1c8d Date: 2016-02-29 16:06 + http://bitbucket.org/pypy/pypy/changeset/b212924f1c8d/ Log:Add clear() and copy() actions diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpython/rtyper/test/test

[pypy-commit] pypy default: Improve hypothesis test: catch infinite loops (posix only) and do the complete check once and only once, at the end of the run.

2016-02-29 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82615:721ef287647d Date: 2016-02-29 18:36 + http://bitbucket.org/pypy/pypy/changeset/721ef287647d/ Log:Improve hypothesis test: catch infinite loops (posix only) and do the complete check once and only once, at the end of the run. diff --gi

[pypy-commit] pypy default: Make hypothesis test parametric in the key and value types

2016-02-29 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82617:959fe6807849 Date: 2016-02-29 21:57 + http://bitbucket.org/pypy/pypy/changeset/959fe6807849/ Log:Make hypothesis test parametric in the key and value types diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --

[pypy-commit] pypy default: kill dead and/or superseded tests

2016-02-29 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82618:51611a2b96f6 Date: 2016-02-29 22:08 + http://bitbucket.org/pypy/pypy/changeset/51611a2b96f6/ Log:kill dead and/or superseded tests diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpython/rtyper/test/t

[pypy-commit] pypy default: Test rdict also with char, unicode, unichar

2016-03-01 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82639:b8922598b1c9 Date: 2016-03-01 16:52 + http://bitbucket.org/pypy/pypy/changeset/b8922598b1c9/ Log:Test rdict also with char, unicode, unichar diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpython/rty

[pypy-commit] pypy default: Refactor parametric test into a single stateful test with increased run-time

2016-03-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82658:eeb057746657 Date: 2016-03-02 15:02 + http://bitbucket.org/pypy/pypy/changeset/eeb057746657/ Log:Refactor parametric test into a single stateful test with increased run-time diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rt

[pypy-commit] pypy default: cleanup

2016-03-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82663:db9d97b06d3a Date: 2016-03-02 20:16 + http://bitbucket.org/pypy/pypy/changeset/db9d97b06d3a/ Log:cleanup diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpython/rtyper/test/test_rdict.py +++ b/rpython

[pypy-commit] pypy default: Fix typo that made a test useless

2016-03-03 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82673:4d2c1de4fbff Date: 2016-03-03 14:12 + http://bitbucket.org/pypy/pypy/changeset/4d2c1de4fbff/ Log:Fix typo that made a test useless diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpython/rtyper/test/t

[pypy-commit] pypy default: Reuse rdict hypothesis test in test_rordereddict.py

2016-03-03 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82678:67aa41de326b Date: 2016-03-03 15:52 + http://bitbucket.org/pypy/pypy/changeset/67aa41de326b/ Log:Reuse rdict hypothesis test in test_rordereddict.py diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpy

[pypy-commit] pypy default: kill obsolete tests

2016-03-03 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82679:9db8617310dc Date: 2016-03-03 16:25 + http://bitbucket.org/pypy/pypy/changeset/9db8617310dc/ Log:kill obsolete tests diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpython/rtyper/test/test_rdict.py +

[pypy-commit] pypy rawrefcount-review: Rename some parameters for clarity

2016-03-04 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82774:111c68c340a7 Date: 2016-03-04 16:48 + http://bitbucket.org/pypy/pypy/changeset/111c68c340a7/ Log:Rename some parameters for clarity diff --git a/rpython/rlib/rawrefcount.py b/rpython/rlib/rawrefcount.py --- a/rpython/rlib/ra

[pypy-commit] pypy rawrefcount-review: A branch to remove the conceptual dependency of rpython.rlib.rawrefcount on PyPy specifics

2016-03-04 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82773:aeab1067f34a Date: 2016-03-04 15:18 + http://bitbucket.org/pypy/pypy/changeset/aeab1067f34a/ Log:A branch to remove the conceptual dependency of rpython.rlib.rawrefcount on PyPy specifics

[pypy-commit] pypy rawrefcount-review: Move rpython implementations next to their functions

2016-03-04 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82775:267edcb35bc5 Date: 2016-03-04 16:59 + http://bitbucket.org/pypy/pypy/changeset/267edcb35bc5/ Log:Move rpython implementations next to their functions diff --git a/rpython/rlib/rawrefcount.py b/rpython/rlib/rawrefcount.py ---

[pypy-commit] pypy rawrefcount-review: Factor out some repeated code

2016-03-04 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82780:0d0ac385be9c Date: 2016-03-04 19:14 + http://bitbucket.org/pypy/pypy/changeset/0d0ac385be9c/ Log:Factor out some repeated code diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py --- a/rpython/me

[pypy-commit] pypy rawrefcount-review: Use @py.test.mark.parametrize

2016-03-04 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82783:73435fbb4416 Date: 2016-03-04 20:57 + http://bitbucket.org/pypy/pypy/changeset/73435fbb4416/ Log:Use @py.test.mark.parametrize diff --git a/rpython/memory/gc/test/test_rawrefcount.py b/rpython/memory/gc/test/test_rawrefcoun

[pypy-commit] pypy rawrefcount-review: Try to simplify tests

2016-03-06 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82822:805b6b103730 Date: 2016-03-06 16:09 + http://bitbucket.org/pypy/pypy/changeset/805b6b103730/ Log:Try to simplify tests diff --git a/rpython/memory/gc/test/test_rawrefcount.py b/rpython/memory/gc/test/test_rawrefcount.py ---

[pypy-commit] pypy rawrefcount-review: Move test class state into separate class GCSpace

2016-03-06 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82823:d4a535a667c8 Date: 2016-03-06 17:58 + http://bitbucket.org/pypy/pypy/changeset/d4a535a667c8/ Log:Move test class state into separate class GCSpace diff --git a/rpython/memory/gc/test/test_direct.py b/rpython/memory/gc/test/

[pypy-commit] pypy rawrefcount-review: Factor out all interpreter-dependent behaviour into a few GC methods

2016-03-07 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82864:7daebe814a60 Date: 2016-03-06 00:27 + http://bitbucket.org/pypy/pypy/changeset/7daebe814a60/ Log:Factor out all interpreter-dependent behaviour into a few GC methods diff --git a/rpython/memory/gc/incminimark.py b/rpython/me

[pypy-commit] pypy rawrefcount-review: Add stateful hypothesis testing for rawrefcount

2016-03-07 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r82865:7ddef219107f Date: 2016-03-07 18:40 + http://bitbucket.org/pypy/pypy/changeset/7ddef219107f/ Log:Add stateful hypothesis testing for rawrefcount diff --git a/rpython/memory/gc/test/test_rawrefcount.py b/rpython/memory/gc/te

[pypy-commit] pypy default: small cleanup

2016-03-09 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r82916:6e82c4562984 Date: 2016-03-09 17:51 + http://bitbucket.org/pypy/pypy/changeset/6e82c4562984/ Log:small cleanup diff --git a/pypy/interpreter/mixedmodule.py b/pypy/interpreter/mixedmodule.py --- a/pypy/interpreter/mixedmodule.py +++ b/pypy/int

[pypy-commit] pypy pypy3.3-bootstrap: Do not store the absolute path of the source into the translated executable (breaks stuff)

2016-03-09 Thread rlamy
Author: Ronan Lamy Branch: pypy3.3-bootstrap Changeset: r82923:6a5e412892d7 Date: 2016-03-09 20:43 + http://bitbucket.org/pypy/pypy/changeset/6a5e412892d7/ Log:Do not store the absolute path of the source into the translated executable (breaks stuff) diff --git a/pypy/module/sys/

[pypy-commit] pypy py3.3-bootstrap-hack: Initialise the filesystem encoding only after imports have been bootstrapped.

2016-03-10 Thread rlamy
Author: Ronan Lamy Branch: py3.3-bootstrap-hack Changeset: r82949:eb02742ce71d Date: 2016-03-10 19:01 + http://bitbucket.org/pypy/pypy/changeset/eb02742ce71d/ Log:Initialise the filesystem encoding only after imports have been bootstrapped. Creating it requires importing

[pypy-commit] pypy py3.3-bootstrap-hack: Fix test_app_main

2016-03-11 Thread rlamy
Author: Ronan Lamy Branch: py3.3-bootstrap-hack Changeset: r82987:5705d77f0311 Date: 2016-03-11 17:30 + http://bitbucket.org/pypy/pypy/changeset/5705d77f0311/ Log:Fix test_app_main diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py --- a/pypy/interpreter/app_main.py

[pypy-commit] pypy rawrefcount-review: Add externally malloced gcobjects to the hypothesis test

2016-03-13 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r83012:579b1d5d2803 Date: 2016-03-13 16:50 + http://bitbucket.org/pypy/pypy/changeset/579b1d5d2803/ Log:Add externally malloced gcobjects to the hypothesis test diff --git a/rpython/memory/gc/test/test_rawrefcount.py b/rpython/mem

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

2016-03-13 Thread rlamy
Author: Ronan Lamy Branch: rawrefcount-review Changeset: r83011:ac298f2c6197 Date: 2016-03-13 16:26 + http://bitbucket.org/pypy/pypy/changeset/ac298f2c6197/ Log:hg merge default diff too long, truncating to 2000 out of 14492 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b

[pypy-commit] pypy py3.3-bootstrap-hack: Close branch py3.3-bootstrap-hack

2016-03-13 Thread rlamy
Author: Ronan Lamy Branch: py3.3-bootstrap-hack Changeset: r83018:54a2d1b980a4 Date: 2016-03-13 19:29 + http://bitbucket.org/pypy/pypy/changeset/54a2d1b980a4/ Log:Close branch py3.3-bootstrap-hack ___ pypy-commit mailing list pypy-commit@python

[pypy-commit] pypy py3.3: Merged in py3.3-bootstrap-hack (pull request #415)

2016-03-13 Thread rlamy
Author: Ronan Lamy Branch: py3.3 Changeset: r83019:0113d6e6d5ca Date: 2016-03-13 19:29 + http://bitbucket.org/pypy/pypy/changeset/0113d6e6d5ca/ Log:Merged in py3.3-bootstrap-hack (pull request #415) Initialise the filesystem encoding only after imports have been bootstrap

[pypy-commit] pypy bootstrap-clarity: Make module _cleanup_ explicit

2016-03-15 Thread rlamy
Author: Ronan Lamy Branch: bootstrap-clarity Changeset: r83077:11e9cab4e26f Date: 2016-03-15 20:10 + http://bitbucket.org/pypy/pypy/changeset/11e9cab4e26f/ Log:Make module _cleanup_ explicit diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/inter

[pypy-commit] pypy bootstrap-clarity: Create space._is_runtime attribute.

2016-03-15 Thread rlamy
Author: Ronan Lamy Branch: bootstrap-clarity Changeset: r83076:006b04e6249a Date: 2016-03-15 19:06 + http://bitbucket.org/pypy/pypy/changeset/006b04e6249a/ Log:Create space._is_runtime attribute. This is meant to allow cleanly separating translation-time objspace configur

[pypy-commit] pypy py3k: hg merge default

2016-03-18 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r83154:9a167de52a1f Date: 2016-03-19 04:26 + http://bitbucket.org/pypy/pypy/changeset/9a167de52a1f/ Log:hg merge default diff too long, truncating to 2000 out of 13776 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@

[pypy-commit] pypy default: Remove debug artifact (backout 18bd2d236f85)

2016-03-18 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r83155:c3f763db98bb Date: 2016-03-19 04:29 + http://bitbucket.org/pypy/pypy/changeset/c3f763db98bb/ Log:Remove debug artifact (backout 18bd2d236f85) diff --git a/pypy/module/select/test/test_select.py b/pypy/module/select/test/test_select.py --- a/

[pypy-commit] pypy py3.3-bootstrap-again: Do not import importlib during objspace creation.

2016-03-18 Thread rlamy
Author: Ronan Lamy Branch: py3.3-bootstrap-again Changeset: r83114:90e05aa7339c Date: 2016-03-17 16:40 + http://bitbucket.org/pypy/pypy/changeset/90e05aa7339c/ Log:Do not import importlib during objspace creation. This freezed importlib into a pre-built constant which prevents

[pypy-commit] pypy follow_symlinks: Import a bunch of docstrings from CPython 3.3 (b9c8f1c80f47)

2016-03-18 Thread rlamy
Author: Ronan Lamy Branch: follow_symlinks Changeset: r83156:664a8d8d8eb4 Date: 2016-03-19 06:31 + http://bitbucket.org/pypy/pypy/changeset/664a8d8d8eb4/ Log:Import a bunch of docstrings from CPython 3.3 (b9c8f1c80f47) Update docstrings for all functions that support the new keyw

[pypy-commit] pypy py3.3-bootstrap-again: Close branch py3.3-bootstrap-again

2016-03-19 Thread rlamy
Author: Ronan Lamy Branch: py3.3-bootstrap-again Changeset: r83116:8d273b40ca8d Date: 2016-03-18 01:13 + http://bitbucket.org/pypy/pypy/changeset/8d273b40ca8d/ Log:Close branch py3.3-bootstrap-again ___ pypy-commit mailing list pypy-commit@pyth

[pypy-commit] pypy py3.3: Merged in py3.3-bootstrap-again (pull request #417)

2016-03-19 Thread rlamy
Author: Ronan Lamy Branch: py3.3 Changeset: r83117:f52e4b4b7338 Date: 2016-03-18 01:13 + http://bitbucket.org/pypy/pypy/changeset/f52e4b4b7338/ Log:Merged in py3.3-bootstrap-again (pull request #417) Do not import importlib during objspace creation diff --git a/pypy/module/imp/_

[pypy-commit] pypy py3k: hg merge py3.3

2016-03-19 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r83133:5ce0c542f4d8 Date: 2016-03-18 16:57 + http://bitbucket.org/pypy/pypy/changeset/5ce0c542f4d8/ Log:hg merge py3.3 diff --git a/pypy/module/imp/__init__.py b/pypy/module/imp/__init__.py --- a/pypy/module/imp/__init__.py +++ b/pypy/module/imp

  1   2   3   4   5   6   7   8   9   10   >