[pypy-commit] pypy default: fix signature of PyObject_AsCharBuffer, PyDescr_NewMethod

2016-10-19 Thread mattip
Author: Matti Picus Branch: Changeset: r87886:14a562f24f66 Date: 2016-10-19 23:51 +0300 http://bitbucket.org/pypy/pypy/changeset/14a562f24f66/ Log:fix signature of PyObject_AsCharBuffer, PyDescr_NewMethod diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/c

[pypy-commit] pypy missing-tp_new: add assert that fails for an app-level typedef

2016-10-19 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r87885:b17ba1051274 Date: 2016-10-19 20:39 +0300 http://bitbucket.org/pypy/pypy/changeset/b17ba1051274/ Log:add assert that fails for an app-level typedef diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py --

[pypy-commit] pypy missing-tp_new: backed out f6ba0b987cc7 which was overkill and broke many things

2016-10-19 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r87884:fb70b1ac5216 Date: 2016-10-19 18:55 +0300 http://bitbucket.org/pypy/pypy/changeset/fb70b1ac5216/ Log:backed out f6ba0b987cc7 which was overkill and broke many things diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/

[pypy-commit] pypy interp-opt: start to think about some light weight specialization optimization done purely in the interpreter (working on a test)

2016-10-19 Thread plan_rich
Author: Richard Plangger Branch: interp-opt Changeset: r87883:84d5cd4effa1 Date: 2016-10-19 18:57 +0200 http://bitbucket.org/pypy/pypy/changeset/84d5cd4effa1/ Log:start to think about some light weight specialization optimization done purely in the interpreter (working on a test) dif

[pypy-commit] pypy clean-exported-state: Ensure exported state for retraces has been properly sanitized

2016-10-19 Thread sbauman
Author: Spenser Bauman Branch: clean-exported-state Changeset: r87882:dcf0a7a5ae86 Date: 2016-10-19 12:52 -0400 http://bitbucket.org/pypy/pypy/changeset/dcf0a7a5ae86/ Log:Ensure exported state for retraces has been properly sanitized diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/

[pypy-commit] pypy cpyext-injection: (arigato, fijal, plan_rich) create a new type def. myitem, need to redirect properly

2016-10-19 Thread plan_rich
Author: Richard Plangger Branch: cpyext-injection Changeset: r87881:fbb30091e897 Date: 2016-10-19 18:40 +0200 http://bitbucket.org/pypy/pypy/changeset/fbb30091e897/ Log:(arigato, fijal, plan_rich) create a new type def. myitem, need to redirect properly diff --git a/pypy/module/cpyex

[pypy-commit] pypy clean-exported-state: Add checks in _do_optimize_loop to ensure optimization info is cleaned up

2016-10-19 Thread sbauman
Author: Spenser Bauman Branch: clean-exported-state Changeset: r87880:00541301b3ef Date: 2016-10-19 12:38 -0400 http://bitbucket.org/pypy/pypy/changeset/00541301b3ef/ Log:Add checks in _do_optimize_loop to ensure optimization info is cleaned up diff --git a/rpython/jit/metainterp/opt

[pypy-commit] pypy missing-tp_new: move the last-ditch tp_new assignment to later in type_attach

2016-10-19 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r87879:1df087c4e903 Date: 2016-10-19 18:16 +0300 http://bitbucket.org/pypy/pypy/changeset/1df087c4e903/ Log:move the last-ditch tp_new assignment to later in type_attach diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/t

[pypy-commit] pypy missing-tp_new: use the full w_type not just the w_type.layout.typedef when looking up functions

2016-10-19 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r87878:f6ba0b987cc7 Date: 2016-10-19 18:13 +0300 http://bitbucket.org/pypy/pypy/changeset/f6ba0b987cc7/ Log:use the full w_type not just the w_type.layout.typedef when looking up functions diff --git a/pypy/module/cpyext/slotdefs.

[pypy-commit] pypy cpyext-injection: (arigato, plan_rich) add a new test to return a pypy object

2016-10-19 Thread plan_rich
Author: Richard Plangger Branch: cpyext-injection Changeset: r87877:7634141bc595 Date: 2016-10-19 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/7634141bc595/ Log:(arigato, plan_rich) add a new test to return a pypy object diff --git a/pypy/module/cpyext/pyobject.py b/pypy/module/cpyex

[pypy-commit] pypy missing-tp_new: test - tp_new of an app-level class does not seem to be reflected into the pyobj

2016-10-19 Thread mattip
Author: Matti Picus Branch: missing-tp_new Changeset: r87876:90db0179a3f6 Date: 2016-10-19 17:18 +0300 http://bitbucket.org/pypy/pypy/changeset/90db0179a3f6/ Log:test - tp_new of an app-level class does not seem to be reflected into the pyobj diff --git a/pypy/module/cpyext/test/foo3

[pypy-commit] pypy cpyext-injection: Extend the test

2016-10-19 Thread arigo
Author: Armin Rigo Branch: cpyext-injection Changeset: r87875:785b605b2f98 Date: 2016-10-19 15:47 +0200 http://bitbucket.org/pypy/pypy/changeset/785b605b2f98/ Log:Extend the test diff --git a/pypy/module/cpyext/injection/_test_module.py b/pypy/module/cpyext/injection/_test_module.py --- a/p

[pypy-commit] pypy cpyext-injection: Injecting a module's global function

2016-10-19 Thread arigo
Author: Armin Rigo Branch: cpyext-injection Changeset: r87874:ab5a54a34d42 Date: 2016-10-19 15:45 +0200 http://bitbucket.org/pypy/pypy/changeset/ab5a54a34d42/ Log:Injecting a module's global function diff --git a/pypy/module/cpyext/injection/_test_module.py b/pypy/module/cpyext/injection/_t

[pypy-commit] pypy cpyext-injection: Call the original version of the code from the injected version

2016-10-19 Thread arigo
Author: Armin Rigo Branch: cpyext-injection Changeset: r87873:c74dff9dcd31 Date: 2016-10-19 14:48 +0200 http://bitbucket.org/pypy/pypy/changeset/c74dff9dcd31/ Log:Call the original version of the code from the injected version diff --git a/pypy/module/cpyext/injection/_test_module.py b/pypy

[pypy-commit] pypy cpyext-injection: Next level of injection

2016-10-19 Thread arigo
Author: Armin Rigo Branch: cpyext-injection Changeset: r87872:01d2b9165c8b Date: 2016-10-19 14:39 +0200 http://bitbucket.org/pypy/pypy/changeset/01d2b9165c8b/ Log:Next level of injection diff --git a/pypy/module/cpyext/injection/_test_module.py b/pypy/module/cpyext/injection/_test_module.py

[pypy-commit] pypy cpyext-injection: Works.

2016-10-19 Thread arigo
Author: Armin Rigo Branch: cpyext-injection Changeset: r87871:de9b1627eba7 Date: 2016-10-19 14:14 +0200 http://bitbucket.org/pypy/pypy/changeset/de9b1627eba7/ Log:Works. diff --git a/pypy/module/cpyext/injection/__init__.py b/pypy/module/cpyext/injection/__init__.py new file mode 100644 dif

[pypy-commit] pypy cpyext-injection: Yay, a test

2016-10-19 Thread arigo
Author: Armin Rigo Branch: cpyext-injection Changeset: r87870:a1e270ccbe1a Date: 2016-10-19 14:02 +0200 http://bitbucket.org/pypy/pypy/changeset/a1e270ccbe1a/ Log:Yay, a test diff --git a/pypy/module/cpyext/test/injection.c b/pypy/module/cpyext/test/injection.c new file mode 100644 --- /dev

[pypy-commit] pypy cpyext-injection: A branch to "inject" custom PyPy implementations for some types that are

2016-10-19 Thread arigo
Author: Armin Rigo Branch: cpyext-injection Changeset: r87869:d0156c278ca0 Date: 2016-10-19 13:46 +0200 http://bitbucket.org/pypy/pypy/changeset/d0156c278ca0/ Log:A branch to "inject" custom PyPy implementations for some types that are otherwise provided via cpyext diff --git a/pypy/

[pypy-commit] cffi default: Tweaks, and add extra tests, which fail for now :-/

2016-10-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r2793:6d176858847d Date: 2016-10-19 09:43 +0200 http://bitbucket.org/cffi/cffi/changeset/6d176858847d/ Log:Tweaks, and add extra tests, which fail for now :-/ diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backe