[pypy-commit] pypy py3.5: Fix translation

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r92548:527396233189 Date: 2017-10-02 11:02 +0200 http://bitbucket.org/pypy/pypy/changeset/527396233189/ Log:Fix translation 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-avoid-roundtrip: (antocuni, arigo)

2017-10-02 Thread arigo
Author: Armin Rigo Branch: cpyext-avoid-roundtrip Changeset: r92552:05c413f37f2c Date: 2017-10-02 12:34 +0200 http://bitbucket.org/pypy/pypy/changeset/05c413f37f2c/ Log:(antocuni, arigo) Simplification again, using the fixes in ll2ctypes. diff --git a/pypy/module/cpyext/api.py b/pyp

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo)

2017-10-02 Thread arigo
Author: Armin Rigo Branch: cpyext-avoid-roundtrip Changeset: r92550:087ef45836c2 Date: 2017-10-02 12:14 +0200 http://bitbucket.org/pypy/pypy/changeset/087ef45836c2/ Log:(antocuni, arigo) Move subtype_dealloc to C. Lots of messes that might not be necessary any more thanks to

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo)

2017-10-02 Thread arigo
Author: Armin Rigo Branch: cpyext-avoid-roundtrip Changeset: r92549:d519061c7cf0 Date: 2017-10-02 12:13 +0200 http://bitbucket.org/pypy/pypy/changeset/d519061c7cf0/ Log:(antocuni, arigo) Ah. Found that this simple new test in test_ll2ctypes doesn't actually pass. Fix. di

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo)

2017-10-02 Thread arigo
Author: Armin Rigo Branch: cpyext-avoid-roundtrip Changeset: r92551:5593c8b50dc4 Date: 2017-10-02 12:33 +0200 http://bitbucket.org/pypy/pypy/changeset/5593c8b50dc4/ Log:(antocuni, arigo) More. diff --git a/rpython/rtyper/lltypesystem/ll2ctypes.py b/rpython/rtyper/lltypesystem/ll2ct

[pypy-commit] pypy cpyext-avoid-roundtrip: Kill PyObject_dealloc()

2017-10-02 Thread arigo
Author: Armin Rigo Branch: cpyext-avoid-roundtrip Changeset: r92553:d9618818e9a5 Date: 2017-10-02 12:42 +0200 http://bitbucket.org/pypy/pypy/changeset/d9618818e9a5/ Log:Kill PyObject_dealloc() diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py

[pypy-commit] pypy refactor-slots: hg merge default

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: refactor-slots Changeset: r92554:9876c223e75f Date: 2017-10-02 11:44 +0200 http://bitbucket.org/pypy/pypy/changeset/9876c223e75f/ Log:hg merge default diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/slotdefs.py

[pypy-commit] pypy refactor-slots: Add @slot_factory decorator

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: refactor-slots Changeset: r92556:901c1e4af3a0 Date: 2017-10-02 13:35 +0200 http://bitbucket.org/pypy/pypy/changeset/901c1e4af3a0/ Log:Add @slot_factory decorator diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/s

[pypy-commit] pypy refactor-slots: Experiment with extracting slot factories from build_slot_tp_function()

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: refactor-slots Changeset: r92555:01b1c0cb2cb6 Date: 2017-10-02 13:07 +0200 http://bitbucket.org/pypy/pypy/changeset/01b1c0cb2cb6/ Log:Experiment with extracting slot factories from build_slot_tp_function() diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): move these two api functions to C

2017-10-02 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92557:63bf91dc13e5 Date: 2017-10-02 15:36 +0200 http://bitbucket.org/pypy/pypy/changeset/63bf91dc13e5/ Log:(antocuni, arigo): move these two api functions to C diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py -

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): port more functions to C, and mark some others which we would like to port

2017-10-02 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92558:98f6749ae4ed Date: 2017-10-02 16:31 +0200 http://bitbucket.org/pypy/pypy/changeset/98f6749ae4ed/ Log:(antocuni, arigo): port more functions to C, and mark some others which we would like to port diff --git a/pypy/m

[pypy-commit] pypy cpyext-nowrapper: Add a way to remove all wrappers around cpyext functions

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: cpyext-nowrapper Changeset: r92559:ef509cae3c70 Date: 2017-10-02 19:02 +0200 http://bitbucket.org/pypy/pypy/changeset/ef509cae3c70/ Log:Add a way to remove all wrappers around cpyext functions diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a

[pypy-commit] pypy cpyext-nowrapper: fix translation

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: cpyext-nowrapper Changeset: r92560:7e7eb71ef011 Date: 2017-10-02 19:11 +0200 http://bitbucket.org/pypy/pypy/changeset/7e7eb71ef011/ Log:fix translation diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py --- a/pypy/module/cpyext/object.py +++ b

[pypy-commit] pypy refactor-slots: Make make_unary_slot a slot factory

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: refactor-slots Changeset: r92562:4d5efb01a01c Date: 2017-10-02 17:19 +0200 http://bitbucket.org/pypy/pypy/changeset/4d5efb01a01c/ Log:Make make_unary_slot a slot factory diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/

[pypy-commit] pypy refactor-slots: Extract make_unary_slot()

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: refactor-slots Changeset: r92561:9b482bc4eb37 Date: 2017-10-02 16:12 +0200 http://bitbucket.org/pypy/pypy/changeset/9b482bc4eb37/ Log:Extract make_unary_slot() diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module/cpyext/slo

[pypy-commit] pypy refactor-slots: Convert build_slot_tp_function() to use only slot factories

2017-10-02 Thread rlamy
Author: Ronan Lamy Branch: refactor-slots Changeset: r92563:848194a517c3 Date: 2017-10-03 00:10 +0200 http://bitbucket.org/pypy/pypy/changeset/848194a517c3/ Log:Convert build_slot_tp_function() to use only slot factories diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotde