[pypy-commit] pypy py3.5: Attempt to fix 'nonlocal' in class scopes.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91078:785e75435a92 Date: 2017-04-18 09:48 +0200 http://bitbucket.org/pypy/pypy/changeset/785e75435a92/ Log:Attempt to fix 'nonlocal' in class scopes. test_scope and test_super are passing again. diff --git a/pypy/interpreter/astc

[pypy-commit] pypy py3.5-mac-translate: Add check for HAVE_DIRENT_H

2017-04-18 Thread danchr
Author: Dan Villiom Podlaski Christiansen Branch: py3.5-mac-translate Changeset: r91080:b66e14493a7b Date: 2017-04-18 12:57 +0200 http://bitbucket.org/pypy/pypy/changeset/b66e14493a7b/ Log:Add check for HAVE_DIRENT_H _posixsubprocess.c uses this symbol to optionally include the

[pypy-commit] pypy py3.5-mac-translate: Add checks for posix_fadvise() and posix_fallocate()

2017-04-18 Thread danchr
Author: Dan Villiom Podlaski Christiansen Branch: py3.5-mac-translate Changeset: r91079:4e08bb45b11b Date: 2017-04-18 12:55 +0200 http://bitbucket.org/pypy/pypy/changeset/4e08bb45b11b/ Log:Add checks for posix_fadvise() and posix_fallocate() macOS Sierra does not define these, and CP

[pypy-commit] pypy PyBuffer: fix test

2017-04-18 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r91081:3b48e100aaba Date: 2017-04-18 18:23 +0100 http://bitbucket.org/pypy/pypy/changeset/3b48e100aaba/ Log:fix test diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py --- a/pypy/module/cpye

[pypy-commit] pypy py3.5: document branch

2017-04-18 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r91084:3e391513b23c Date: 2017-04-19 00:02 +0300 http://bitbucket.org/pypy/pypy/changeset/3e391513b23c/ Log:document branch diff --git a/pypy/doc/whatsnew-pypy3-head.rst b/pypy/doc/whatsnew-pypy3-head.rst --- a/pypy/doc/whatsnew-pypy3-head.rst +++

[pypy-commit] pypy py3.5: CPython Issue #21057: TextIOWrapper now allows the underlying binary stream's read() or read1() method to return an arbitrary bytes-like object

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91085:77139bab65b2 Date: 2017-04-18 17:49 +0200 http://bitbucket.org/pypy/pypy/changeset/77139bab65b2/ Log:CPython Issue #21057: TextIOWrapper now allows the underlying binary stream's read() or read1() method to return an arbitra

[pypy-commit] pypy py3.5: Add support for rejecting lone surrogates in utf16 and utf32 decoders.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91090:7ce52a9f8d1f Date: 2017-04-19 00:53 +0200 http://bitbucket.org/pypy/pypy/changeset/7ce52a9f8d1f/ Log:Add support for rejecting lone surrogates in utf16 and utf32 decoders. diff --git a/rpython/rlib/runicode.py b/rpython/rli

[pypy-commit] pypy py3.5: CPython Issue #22982: Improve BOM handling when seeking to multiple positions of a writable text file.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91089:32c611c850d8 Date: 2017-04-18 22:12 +0200 http://bitbucket.org/pypy/pypy/changeset/32c611c850d8/ Log:CPython Issue #22982: Improve BOM handling when seeking to multiple positions of a writable text file. diff --git a/pypy/m

[pypy-commit] pypy py3.5: Python Issue #21310: Fixed possible resource leak in failed open()

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91086:af84269c028b Date: 2017-04-18 18:37 +0200 http://bitbucket.org/pypy/pypy/changeset/af84269c028b/ Log:Python Issue #21310: Fixed possible resource leak in failed open() diff --git a/pypy/module/_io/interp_io.py b/pypy/module/_io/int

[pypy-commit] pypy py3.5: CPython Issue #21396: write_through=True doesn't force a flush() on the underlying binary buffered object.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91088:15ee4ffa4842 Date: 2017-04-18 19:11 +0200 http://bitbucket.org/pypy/pypy/changeset/15ee4ffa4842/ Log:CPython Issue #21396: write_through=True doesn't force a flush() on the underlying binary buffered object. diff --git a/py

[pypy-commit] pypy py3.5: Chain exceptions when close() contains multiple operations that can fail.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91087:0f983f4075de Date: 2017-04-18 19:03 +0200 http://bitbucket.org/pypy/pypy/changeset/0f983f4075de/ Log:Chain exceptions when close() contains multiple operations that can fail. diff --git a/pypy/module/_io/interp_bufferedio.p