[pypy-commit] pypy py3.5: add docstrings to struct module

2017-03-28 Thread cfbolz
Author: Carl Friedrich Bolz Branch: py3.5 Changeset: r90828:69340a250c18 Date: 2017-03-28 11:09 +0200 http://bitbucket.org/pypy/pypy/changeset/69340a250c18/ Log:add docstrings to struct module diff --git a/pypy/module/struct/interp_struct.py b/pypy/module/struct/interp_struct.py --- a/pypy/

[pypy-commit] pypy default: Remove this test involving old style classes, which were removed in Python 3.0.

2017-03-28 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r90829:2b7815180e1b Date: 2017-03-26 20:33 +0200 http://bitbucket.org/pypy/pypy/changeset/2b7815180e1b/ Log:Remove this test involving old style classes, which were removed in Python 3.0. diff --git a/pypy/module/cpyext/test/test_typeobject.py

[pypy-commit] pypy default: Backed out changeset 2b7815180e1b

2017-03-28 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r90830:7eb36df99c53 Date: 2017-03-28 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/7eb36df99c53/ Log:Backed out changeset 2b7815180e1b diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py

[pypy-commit] pypy default: add docstrings to struct module

2017-03-28 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r90831:0777b28a3618 Date: 2017-03-28 11:09 +0200 http://bitbucket.org/pypy/pypy/changeset/0777b28a3618/ Log:add docstrings to struct module diff --git a/pypy/module/struct/interp_struct.py b/pypy/module/struct/interp_struct.py --- a/pypy/modul

[pypy-commit] pypy default: Fix for detect_sse4a() (which is not used outside this file)

2017-03-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r90832:73ea3144f995 Date: 2017-03-28 12:59 +0200 http://bitbucket.org/pypy/pypy/changeset/73ea3144f995/ Log:Fix for detect_sse4a() (which is not used outside this file) diff --git a/rpython/jit/backend/x86/detect_feature.py b/rpython/jit/backend/x86/de

[pypy-commit] pypy lstrip_to_empty_string: ready to merge

2017-03-28 Thread arigo
Author: Armin Rigo Branch: lstrip_to_empty_string Changeset: r90835:2ee78799ab18 Date: 2017-03-28 13:22 +0200 http://bitbucket.org/pypy/pypy/changeset/2ee78799ab18/ Log:ready to merge ___ pypy-commit mailing list pypy-commit@python.org https://mail

[pypy-commit] pypy lstrip_to_empty_string: If possible, make lstrip consume the whole string.

2017-03-28 Thread Nate Bragg
Author: Nate Bragg Branch: lstrip_to_empty_string Changeset: r90834:2275619cea33 Date: 2017-03-28 07:10 -0400 http://bitbucket.org/pypy/pypy/changeset/2275619cea33/ Log:If possible, make lstrip consume the whole string. Previously, it would not consume the final character even if it

[pypy-commit] pypy lstrip_to_empty_string: Failing test showing that lstrip doesn`t consume a whole string.

2017-03-28 Thread Nate Bragg
Author: Nate Bragg Branch: lstrip_to_empty_string Changeset: r90833:835b7eebd891 Date: 2017-03-28 07:07 -0400 http://bitbucket.org/pypy/pypy/changeset/835b7eebd891/ Log:Failing test showing that lstrip doesn`t consume a whole string. diff --git a/rpython/rtyper/test/test_rstr.py b/rpython/rt

[pypy-commit] pypy default: uniformization

2017-03-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r90837:48d983a9e92a Date: 2017-03-28 13:25 +0200 http://bitbucket.org/pypy/pypy/changeset/48d983a9e92a/ Log:uniformization diff --git a/rpython/rtyper/lltypesystem/rstr.py b/rpython/rtyper/lltypesystem/rstr.py --- a/rpython/rtyper/lltypesystem/rstr.py

[pypy-commit] pypy default: hg merge lstrip_to_empty_string

2017-03-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r90836:2c39618c2b77 Date: 2017-03-28 13:22 +0200 http://bitbucket.org/pypy/pypy/changeset/2c39618c2b77/ Log:hg merge lstrip_to_empty_string PR #531. Thanks Nate! diff --git a/rpython/rtyper/lltypesystem/rstr.py b/rpython/rtyper/lltypesystem/rs

[pypy-commit] pypy default: branch doc

2017-03-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r90838:eb94f113091f Date: 2017-03-28 13:26 +0200 http://bitbucket.org/pypy/pypy/changeset/eb94f113091f/ Log:branch doc diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whatsnew-head.rst

[pypy-commit] pypy PyBuffer: Don't mutate the memoryview in _cast_to_1D()

2017-03-28 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r90839:cd13570ce008 Date: 2017-03-28 02:25 +0100 http://bitbucket.org/pypy/pypy/changeset/cd13570ce008/ Log:Don't mutate the memoryview in _cast_to_1D() diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py --- a/pypy/interpreter/

[pypy-commit] pypy PyBuffer: Stop abusing SubBuffer to represent memoryview slices

2017-03-28 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r90840:55b0a70b52e1 Date: 2017-03-28 14:14 +0100 http://bitbucket.org/pypy/pypy/changeset/55b0a70b52e1/ Log:Stop abusing SubBuffer to represent memoryview slices diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py

[pypy-commit] pypy py3.5: Fix inconsistencies in the xml.etree.ElementTree.Element class, which on

2017-03-28 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r90841:0939e3a8a08d Date: 2017-03-28 15:39 +0200 http://bitbucket.org/pypy/pypy/changeset/0939e3a8a08d/ Log:Fix inconsistencies in the xml.etree.ElementTree.Element class, which on CPython is hidden by the C version from '_elementree'. Add

[pypy-commit] cffi default: Pull request #79 by xwang

2017-03-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r2923:9fe2a9e06094 Date: 2017-03-28 14:36 +0200 http://bitbucket.org/cffi/cffi/changeset/9fe2a9e06094/ Log:Pull request #79 by xwang We can actually call PyThreadState_Delete(), which works without the GIL and seems to pass the same test

[pypy-commit] pypy PyBuffer: Simplify _cast_to_ND()

2017-03-28 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r90842:912d9dbe8d1f Date: 2017-03-28 14:53 +0100 http://bitbucket.org/pypy/pypy/changeset/912d9dbe8d1f/ Log:Simplify _cast_to_ND() diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py --- a/pypy/objspace/std/memory

[pypy-commit] pypy PyBuffer: Create BufferViewND to avoid mutating the memoryview in _cast_to_ND()

2017-03-28 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r90843:dbc12a5f29c5 Date: 2017-03-28 15:54 +0100 http://bitbucket.org/pypy/pypy/changeset/dbc12a5f29c5/ Log:Create BufferViewND to avoid mutating the memoryview in _cast_to_ND() diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objs

[pypy-commit] pypy PyBuffer: Kill copies of buffer attributes on W_MemoryObject

2017-03-28 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r90844:74d97901f74e Date: 2017-03-28 16:20 +0100 http://bitbucket.org/pypy/pypy/changeset/74d97901f74e/ Log:Kill copies of buffer attributes on W_MemoryObject diff --git a/pypy/module/cpyext/memoryobject.py b/pypy/module/cpyext/memoryobject.py

[pypy-commit] pypy default: Fix docs (thanks 'and2' on irc)

2017-03-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r90845:0e2af4d11b0c Date: 2017-03-28 17:42 +0200 http://bitbucket.org/pypy/pypy/changeset/0e2af4d11b0c/ Log:Fix docs (thanks 'and2' on irc) diff --git a/pypy/doc/build.rst b/pypy/doc/build.rst --- a/pypy/doc/build.rst +++ b/pypy/doc/build.rst @@ -185,7

[pypy-commit] pypy default: oops, this is also RPython code

2017-03-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r90846:f564555ae003 Date: 2017-03-28 17:56 +0200 http://bitbucket.org/pypy/pypy/changeset/f564555ae003/ Log:oops, this is also RPython code diff --git a/rpython/jit/backend/x86/detect_feature.py b/rpython/jit/backend/x86/detect_feature.py --- a/rpython

[pypy-commit] pypy PyBuffer: Fix translation and give BufferView1D and BufferViewND a common base class

2017-03-28 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r90848:afa6dad368e3 Date: 2017-03-28 17:23 +0100 http://bitbucket.org/pypy/pypy/changeset/afa6dad368e3/ Log:Fix translation and give BufferView1D and BufferViewND a common base class diff --git a/pypy/interpreter/buffer.py b/pypy/interpr

[pypy-commit] pypy PyBuffer: Simplify _cast_to_1D()

2017-03-28 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r90847:7aa0eac946fe Date: 2017-03-28 16:41 +0100 http://bitbucket.org/pypy/pypy/changeset/7aa0eac946fe/ Log:Simplify _cast_to_1D() diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py --- a/pypy/objspace/std/memory

[pypy-commit] pypy default: Issue #2523

2017-03-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r90849:f77701c9f570 Date: 2017-03-28 18:14 +0200 http://bitbucket.org/pypy/pypy/changeset/f77701c9f570/ Log:Issue #2523 This should fix it. The slotdefs entry was removed in 1b0451031b2e but we didn't have any test for that. diff --git

[pypy-commit] pypy PyBuffer: Fix BufferSlice.as_str()

2017-03-28 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r90850:6395c8c41478 Date: 2017-03-28 18:04 +0100 http://bitbucket.org/pypy/pypy/changeset/6395c8c41478/ Log:Fix BufferSlice.as_str() diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py --- a/pypy/objspace/std/memo

[pypy-commit] pypy release-pypy2.7-5.x: update repackage script, deprecate md5 and sha1

2017-03-28 Thread mattip
Author: Matti Picus Branch: release-pypy2.7-5.x Changeset: r90853:dcda4090780d Date: 2017-03-28 22:21 +0300 http://bitbucket.org/pypy/pypy/changeset/dcda4090780d/ Log:update repackage script, deprecate md5 and sha1 diff --git a/pypy/tool/release/repackage.sh b/pypy/tool/release/repackage.sh

[pypy-commit] pypy release-pypy2.7-5.x: Issue #2523

2017-03-28 Thread arigo
Author: Armin Rigo Branch: release-pypy2.7-5.x Changeset: r90851:32cd8a5d7221 Date: 2017-03-28 22:17 +0300 http://bitbucket.org/pypy/pypy/changeset/32cd8a5d7221/ Log:Issue #2523 This should fix it. The slotdefs entry was removed in 1b0451031b2e but we didn't have any test for

[pypy-commit] pypy release-pypy2.7-5.x: increment release version to 5.7.1

2017-03-28 Thread mattip
Author: Matti Picus Branch: release-pypy2.7-5.x Changeset: r90852:7d660be66914 Date: 2017-03-28 22:20 +0300 http://bitbucket.org/pypy/pypy/changeset/7d660be66914/ Log:increment release version to 5.7.1 diff --git a/pypy/module/cpyext/include/patchlevel.h b/pypy/module/cpyext/include/patchle

[pypy-commit] pypy default: update repackage script, deprecate md5 and sha1

2017-03-28 Thread mattip
Author: Matti Picus Branch: Changeset: r90854:b3ea13f4e6a1 Date: 2017-03-28 22:22 +0300 http://bitbucket.org/pypy/pypy/changeset/b3ea13f4e6a1/ Log:update repackage script, deprecate md5 and sha1 (grafted from dcda4090780ddfcf2d27c45d88e355a1c4b2) diff --git a/pypy/tool/release/r

[pypy-commit] pypy default: issue #2002: opening an sqlite3 connection should add memory pressure

2017-03-28 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r90855:e866b37a3b0c Date: 2017-03-28 22:34 +0200 http://bitbucket.org/pypy/pypy/changeset/e866b37a3b0c/ Log:issue #2002: opening an sqlite3 connection should add memory pressure diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py -

[pypy-commit] pypy default: make our file's universal newline .readline implementation less ridiculous

2017-03-28 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r90856:aa29d9052da9 Date: 2017-03-28 23:28 +0200 http://bitbucket.org/pypy/pypy/changeset/aa29d9052da9/ Log:make our file's universal newline .readline implementation less ridiculous (still room for optimization left, but this fixes the