[pypy-commit] cffi static-callback-embedding: in-progress: a comment about eggs, and hacks to run the tests on pypy (some failures so far)

2016-01-02 Thread arigo
Author: Armin Rigo Branch: static-callback-embedding Changeset: r2514:2e002aebe5fa Date: 2016-01-02 08:46 + http://bitbucket.org/cffi/cffi/changeset/2e002aebe5fa/ Log:in-progress: a comment about eggs, and hacks to run the tests on pypy (some failures so far)

[pypy-commit] pypy s390x-backend: exchanged AGHI with LAY, same effect, but LAY does not change the condition code which is needed by the write barrier helper!

2016-01-02 Thread plan_rich
Author: Richard Plangger Branch: s390x-backend Changeset: r81526:b2f6253a910d Date: 2016-01-02 11:56 +0100 http://bitbucket.org/pypy/pypy/changeset/b2f6253a910d/ Log:exchanged AGHI with LAY, same effect, but LAY does not change the condition code which is needed

[pypy-commit] cffi static-callback-embedding: We need fflush(stdout) here, for a possibly bad reason: cpython 2.x

2016-01-02 Thread arigo
Author: Armin Rigo Branch: static-callback-embedding Changeset: r2515:cb13da0c37ca Date: 2016-01-02 08:51 + http://bitbucket.org/cffi/cffi/changeset/cb13da0c37ca/ Log:We need fflush(stdout) here, for a possibly bad reason: cpython 2.x writes to stdout, so it gets

[pypy-commit] pypy default: Fix: we need to "acquire/release the GIL" even around RPython_Startup(), like entrypoint.c does

2016-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r81524:2b962d433084 Date: 2016-01-02 10:22 + http://bitbucket.org/pypy/pypy/changeset/2b962d433084/ Log:Fix: we need to "acquire/release the GIL" even around RPython_Startup(), like entrypoint.c does diff --git

[pypy-commit] pypy cffi-static-callback-embedding: Fixes. Yay! The cffi tests (after translation) pass.

2016-01-02 Thread arigo
Author: Armin Rigo Branch: cffi-static-callback-embedding Changeset: r81525:db64914878b9 Date: 2016-01-02 10:37 + http://bitbucket.org/pypy/pypy/changeset/db64914878b9/ Log:Fixes. Yay! The cffi tests (after translation) pass. diff --git

[pypy-commit] cffi static-callback-embedding: Pseudo-tests that print some performance numbers for calling an embedded

2016-01-02 Thread arigo
Author: Armin Rigo Branch: static-callback-embedding Changeset: r2516:63c49bc07ecc Date: 2016-01-02 15:33 +0100 http://bitbucket.org/cffi/cffi/changeset/63c49bc07ecc/ Log:Pseudo-tests that print some performance numbers for calling an embedded "extern Python"

[pypy-commit] pypy s390x-backend: added some sanity checks, s390x only fails 4 (in test_runner)

2016-01-02 Thread plan_rich
Author: Richard Plangger Branch: s390x-backend Changeset: r81522:6d2f6b85c6e0 Date: 2016-01-02 10:48 +0100 http://bitbucket.org/pypy/pypy/changeset/6d2f6b85c6e0/ Log:added some sanity checks, s390x only fails 4 (in test_runner) diff --git

[pypy-commit] pypy s390x-backend: did not think of the following scenario: in a bridge you cannot 'just' use volatile registers as some might be allocated in the trace it is exiting (fixed)

2016-01-02 Thread plan_rich
Author: Richard Plangger Branch: s390x-backend Changeset: r81521:8184205817a7 Date: 2016-01-02 10:42 +0100 http://bitbucket.org/pypy/pypy/changeset/8184205817a7/ Log:did not think of the following scenario: in a bridge you cannot 'just' use volatile registers as

[pypy-commit] pypy s390x-backend: asmlen test failed, because more instructions in the entry of a bridge are now compiled (realloc check), seems about right what other backends implement!

2016-01-02 Thread plan_rich
Author: Richard Plangger Branch: s390x-backend Changeset: r81523:72ff734c842f Date: 2016-01-02 10:55 +0100 http://bitbucket.org/pypy/pypy/changeset/72ff734c842f/ Log:asmlen test failed, because more instructions in the entry of a bridge are now compiled (realloc

[pypy-commit] cffi static-callback-embedding: A test checking that thread-local values are saved, even though

2016-01-02 Thread arigo
Author: Armin Rigo Branch: static-callback-embedding Changeset: r2517:652f66e41c7b Date: 2016-01-02 15:55 +0100 http://bitbucket.org/cffi/cffi/changeset/652f66e41c7b/ Log:A test checking that thread-local values are saved, even though there is no underlying official

[pypy-commit] extradoc extradoc: Draft blog post

2016-01-02 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5576:4e6f2b0b4afb Date: 2016-01-02 19:22 +0100 http://bitbucket.org/pypy/extradoc/changeset/4e6f2b0b4afb/ Log:Draft blog post diff --git a/blog/draft/cffi-embedding.rst b/blog/draft/cffi-embedding.rst new file mode 100644 ---

[pypy-commit] pypy.org extradoc: update the values

2016-01-02 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r687:3a738e4c8bd7 Date: 2016-01-02 19:46 +0100 http://bitbucket.org/pypy/pypy.org/changeset/3a738e4c8bd7/ Log:update the values diff --git a/don1.html b/don1.html --- a/don1.html +++ b/don1.html @@ -9,13 +9,13 @@

[pypy-commit] extradoc extradoc: tweaks

2016-01-02 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5578:5f72fa7e28b4 Date: 2016-01-02 19:41 +0100 http://bitbucket.org/pypy/extradoc/changeset/5f72fa7e28b4/ Log:tweaks diff --git a/blog/draft/cffi-embedding.rst b/blog/draft/cffi-embedding.rst ---

[pypy-commit] extradoc extradoc: updates

2016-01-02 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5577:478b903db2f9 Date: 2016-01-02 19:37 +0100 http://bitbucket.org/pypy/extradoc/changeset/478b903db2f9/ Log:updates diff --git a/blog/draft/cffi-embedding.rst b/blog/draft/cffi-embedding.rst ---

[pypy-commit] cffi static-callback-embedding: updates

2016-01-02 Thread arigo
Author: Armin Rigo Branch: static-callback-embedding Changeset: r2518:59062d93c601 Date: 2016-01-02 19:37 +0100 http://bitbucket.org/cffi/cffi/changeset/59062d93c601/ Log:updates diff --git a/demo/embedding.py b/demo/embedding.py --- a/demo/embedding.py +++

[pypy-commit] pypy default: Fix _PyLong_FromByteArray() for e205bcf52d2f

2016-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r81528:c626616a34fa Date: 2016-01-03 02:15 +0100 http://bitbucket.org/pypy/pypy/changeset/c626616a34fa/ Log:Fix _PyLong_FromByteArray() for e205bcf52d2f diff --git a/pypy/module/cpyext/longobject.py b/pypy/module/cpyext/longobject.py

[pypy-commit] pypy default: More tests, more fixes

2016-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r81531:6a1567a45cc7 Date: 2016-01-03 02:26 +0100 http://bitbucket.org/pypy/pypy/changeset/6a1567a45cc7/ Log:More tests, more fixes diff --git a/pypy/module/cpyext/longobject.py b/pypy/module/cpyext/longobject.py ---

[pypy-commit] pypy default: Meh! The rbigint class has already got a frombytes() method, which

2016-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r81532:c8029737eae2 Date: 2016-01-03 02:35 +0100 http://bitbucket.org/pypy/pypy/changeset/c8029737eae2/ Log:Meh! The rbigint class has already got a frombytes() method, which is a better (and bug-free) version. diff --git

[pypy-commit] pypy default: Fix the test. _PyLong_FromByteArray() always produces nonsense (i.e. a

2016-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r81527:e205bcf52d2f Date: 2016-01-03 02:10 +0100 http://bitbucket.org/pypy/pypy/changeset/e205bcf52d2f/ Log:Fix the test. _PyLong_FromByteArray() always produces nonsense (i.e. a different result than CPython), which needs to be

[pypy-commit] pypy default: Minor performance improvement

2016-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r81530:9dd3ef98eeae Date: 2016-01-03 02:22 +0100 http://bitbucket.org/pypy/pypy/changeset/9dd3ef98eeae/ Log:Minor performance improvement diff --git a/pypy/module/cpyext/longobject.py b/pypy/module/cpyext/longobject.py ---

[pypy-commit] pypy default: Mention here the _PyLong_FromByteArray() fix

2016-01-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r81529:a3691b49bded Date: 2016-01-03 02:20 +0100 http://bitbucket.org/pypy/pypy/changeset/a3691b49bded/ Log:Mention here the _PyLong_FromByteArray() fix diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst ---