[pypy-commit] pypy default: Remove duplicate

2016-10-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r87852:4885b6872771 Date: 2016-10-18 10:38 +0200 http://bitbucket.org/pypy/pypy/changeset/4885b6872771/ Log:Remove duplicate diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py --- a/pypy/module/cpyext/typeobject.py +++ b/py

[pypy-commit] pypy py3.5: merge heads

2016-10-18 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87854:b34556478b94 Date: 2016-10-18 10:46 +0200 http://bitbucket.org/pypy/pypy/changeset/b34556478b94/ Log:merge heads diff --git a/pypy/module/_collections/interp_deque.py b/pypy/module/_collections/interp_deque.py --- a/pypy/module/_collections

[pypy-commit] pypy py3.5: hg merge default

2016-10-18 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87853:48faf85ce555 Date: 2016-10-18 10:46 +0200 http://bitbucket.org/pypy/pypy/changeset/48faf85ce555/ 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/whatsn

[pypy-commit] pypy py3.5: translation fix: remove decode call to type(...).name

2016-10-18 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r87855:3253f05f8a2b Date: 2016-10-18 10:46 +0200 http://bitbucket.org/pypy/pypy/changeset/3253f05f8a2b/ Log:translation fix: remove decode call to type(...).name diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py

[pypy-commit] pypy py3.5: fix

2016-10-18 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87856:5ec980dfd035 Date: 2016-10-18 10:58 +0200 http://bitbucket.org/pypy/pypy/changeset/5ec980dfd035/ Log:fix diff --git a/pypy/module/cpyext/test/array.c b/pypy/module/cpyext/test/array.c --- a/pypy/module/cpyext/test/array.c +++ b/pypy/module/c

[pypy-commit] pypy py3.5: This dict.update() call can raise RuntimeError or not, even on CPython.

2016-10-18 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87857:17255e31217c Date: 2016-10-18 11:09 +0200 http://bitbucket.org/pypy/pypy/changeset/17255e31217c/ Log:This dict.update() call can raise RuntimeError or not, even on CPython. On PyPy it will not. Change the test to check that it never

[pypy-commit] pypy py3.5: Remove part of a test

2016-10-18 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87858:fbf7fbaebfb1 Date: 2016-10-18 14:55 +0200 http://bitbucket.org/pypy/pypy/changeset/fbf7fbaebfb1/ Log:Remove part of a test diff --git a/pypy/interpreter/astcompiler/test/test_validate.py b/pypy/interpreter/astcompiler/test/test_validate.py

[pypy-commit] pypy py3.5: Fix for interpreter/test/test_compiler: ignore flags that are specified

2016-10-18 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87859:666435caeab3 Date: 2016-10-18 15:22 +0200 http://bitbucket.org/pypy/pypy/changeset/666435caeab3/ Log:Fix for interpreter/test/test_compiler: ignore flags that are specified but anyway mandatory diff --git a/pypy/interpreter/pyparser/

[pypy-commit] pypy default: test, fix __rmod__ and -A incompatibilities with cpython on str, unicode

2016-10-18 Thread mattip
Author: Matti Picus Branch: Changeset: r87860:20aad7aa5de1 Date: 2016-10-18 18:12 +0300 http://bitbucket.org/pypy/pypy/changeset/20aad7aa5de1/ Log:test, fix __rmod__ and -A incompatibilities with cpython on str, unicode diff --git a/pypy/objspace/std/bytesobject.py b/pypy/objspace/s

[pypy-commit] pypy space-newtext: (arigato, plan_rich) think about an API we would like to use to circumvent some issues while maintaining both pypy2 and pypy3

2016-10-18 Thread plan_rich
Author: Richard Plangger Branch: space-newtext Changeset: r87861:41397e31c2f7 Date: 2016-10-18 18:19 +0200 http://bitbucket.org/pypy/pypy/changeset/41397e31c2f7/ Log:(arigato, plan_rich) think about an API we would like to use to circumvent some issues while maintaining both pypy2 and

[pypy-commit] pypy default: Issue #2419, 1/2

2016-10-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r87862:4eb9db301ec2 Date: 2016-10-18 20:50 +0200 http://bitbucket.org/pypy/pypy/changeset/4eb9db301ec2/ Log:Issue #2419, 1/2 diff --git a/rpython/rlib/rtime.py b/rpython/rlib/rtime.py --- a/rpython/rlib/rtime.py +++ b/rpython/rlib/rtime.py @@ -29,7 +29,

[pypy-commit] pypy py3.5: Issue #2419 (2/2)

2016-10-18 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87863:bbd52853e94b Date: 2016-10-18 20:50 +0200 http://bitbucket.org/pypy/pypy/changeset/bbd52853e94b/ Log:Issue #2419 (2/2) diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp_time.py --- a/pypy/module/time/interp_time.py +++ b

[pypy-commit] pypy default: Backed out changeset 26574d11afdb

2016-10-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r87864:9d625b0651c8 Date: 2016-10-18 20:55 +0200 http://bitbucket.org/pypy/pypy/changeset/9d625b0651c8/ Log:Backed out changeset 26574d11afdb Misdirected usage of newbytes(): on PyPy3 we don't want a bytes object, we want a str object (i

[pypy-commit] pypy default: Remove dead import

2016-10-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r87865:a3f36ed75346 Date: 2016-10-18 20:58 +0200 http://bitbucket.org/pypy/pypy/changeset/a3f36ed75346/ Log:Remove dead import diff --git a/pypy/module/cpyext/buffer.py b/pypy/module/cpyext/buffer.py --- a/pypy/module/cpyext/buffer.py +++ b/pypy/module/

[pypy-commit] pypy default: Issue #2420

2016-10-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r87866:ad205516c724 Date: 2016-10-18 21:12 +0200 http://bitbucket.org/pypy/pypy/changeset/ad205516c724/ Log:Issue #2420 diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib/rposix.py @@ -236,6 +236

[pypy-commit] pypy py3.5: hg merge default

2016-10-18 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87867:85ace3e772f4 Date: 2016-10-18 21:29 +0200 http://bitbucket.org/pypy/pypy/changeset/85ace3e772f4/ Log:hg merge default diff --git a/pypy/module/cpyext/pyerrors.py b/pypy/module/cpyext/pyerrors.py --- a/pypy/module/cpyext/pyerrors.py +++ b/pyp

[pypy-commit] extradoc extradoc: Write down hash({}.values())

2016-10-18 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5741:444b33b782af Date: 2016-10-19 00:16 +0200 http://bitbucket.org/pypy/extradoc/changeset/444b33b782af/ Log:Write down hash({}.values()) diff --git a/planning/py3.5/cpython-crashers.rst b/planning/py3.5/cpython-crashers.rst --- a/planning/py

[pypy-commit] pypy space-newtext: Small updates

2016-10-18 Thread arigo
Author: Armin Rigo Branch: space-newtext Changeset: r87868:36e25bdf2bec Date: 2016-10-19 08:28 +0200 http://bitbucket.org/pypy/pypy/changeset/36e25bdf2bec/ Log:Small updates diff --git a/pypy/doc/objspace.rst b/pypy/doc/objspace.rst --- a/pypy/doc/objspace.rst +++ b/pypy/doc/objspace.rst @@

[pypy-commit] cffi calculate_variable_array_length: When using a variable length struct, calculate and enforce the length of the varsized_array when accessing this field.

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: calculate_variable_array_length Changeset: r2789:d269f72d4a9a Date: 2016-09-13 09:19 +1000 http://bitbucket.org/cffi/cffi/changeset/d269f72d4a9a/ Log:When using a variable length struct, calculate and enforce the length of the varsized_array when accessing

[pypy-commit] cffi new_struct_allocated_size: When getting repr on CDataObject_own_structptr, use length field for owned bytes

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: new_struct_allocated_size Changeset: r2788:9d05a8fc0297 Date: 2016-09-12 15:10 +1000 http://bitbucket.org/cffi/cffi/changeset/9d05a8fc0297/ Log:When getting repr on CDataObject_own_structptr, use length field for owned bytes diff --git a/c/_cffi_backend.c

[pypy-commit] cffi new_struct_allocated_size: When getting ffi.buffer() on CDataObject_own_structptr, use length field for buffer size

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: new_struct_allocated_size Changeset: r2787:7e2189722b1d Date: 2016-09-12 14:45 +1000 http://bitbucket.org/cffi/cffi/changeset/7e2189722b1d/ Log:When getting ffi.buffer() on CDataObject_own_structptr, use length field for buffer size diff --git a/c/_cffi_b

[pypy-commit] cffi new_struct_allocated_size: Add length field to CDataObject_own_structptr to hold the size of the memory block allocated for the struct.

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: new_struct_allocated_size Changeset: r2786:8e7211a884bd Date: 2016-09-12 14:02 +1000 http://bitbucket.org/cffi/cffi/changeset/8e7211a884bd/ Log:Add length field to CDataObject_own_structptr to hold the size of the memory block allocated for the struct. Thi

[pypy-commit] cffi calculate_variable_array_length: Detect and mark the final variable array in a varsized struct with BS_VARSIZESTRUCT_ARRAY

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: calculate_variable_array_length Changeset: r2791:3a9e42446693 Date: 2016-09-14 16:56 +1000 http://bitbucket.org/cffi/cffi/changeset/3a9e42446693/ Log:Detect and mark the final variable array in a varsized struct with BS_VARSIZESTRUCT_ARRAY Use this when re

[pypy-commit] cffi default: Merged in coronafire/cffi/calculate_variable_array_length (pull request #71)

2016-10-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r2792:0650dc86447a Date: 2016-10-19 06:53 + http://bitbucket.org/cffi/cffi/changeset/0650dc86447a/ Log:Merged in coronafire/cffi/calculate_variable_array_length (pull request #71) Track and use length of variable length structs and t

[pypy-commit] cffi calculate_variable_array_length: Add some initial test assertions to check length details on variable length structs

2016-10-18 Thread coronafire
Author: Andrew Leech Branch: calculate_variable_array_length Changeset: r2790:f97bac9fc85c Date: 2016-09-13 10:12 +1000 http://bitbucket.org/cffi/cffi/changeset/f97bac9fc85c/ Log:Add some initial test assertions to check length details on variable length structs diff --git a/c/test_c