[pypy-commit] pypy default: a passing test for issue #2482, but perhaps we should support PyBaseObject_Type too?

2017-04-17 Thread mattip
Author: Matti Picus Branch: Changeset: r91077:8175c5e20480 Date: 2017-04-17 23:34 +0300 http://bitbucket.org/pypy/pypy/changeset/8175c5e20480/ Log:a passing test for issue #2482, but perhaps we should support PyBaseObject_Type too? diff --git a/pypy/module/cpyext/test/issue2482.c b

[pypy-commit] pypy default: Avoid freezing lib-python/2.7/__future__.py

2017-04-17 Thread arigo
Author: Armin Rigo Branch: Changeset: r91076:3ac7b22f8ffa Date: 2017-04-17 22:25 +0200 http://bitbucket.org/pypy/pypy/changeset/3ac7b22f8ffa/ Log:Avoid freezing lib-python/2.7/__future__.py diff --git a/pypy/module/__builtin__/app_functional.py b/pypy/module/__builtin__/app_functional.py -

[pypy-commit] pypy py3.5: Apply diffs from CPython, mainly:

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91075:991de0b87cdc Date: 2017-04-17 22:12 +0200 http://bitbucket.org/pypy/pypy/changeset/991de0b87cdc/ Log:Apply diffs from CPython, mainly: CPython rev 5453b9c59cd7: On systems with a functioning /proc/self/fd or /dev/fd interfac

[pypy-commit] pypy py3.5: Apply CPython rev 9180fb4eccc7: Raise our own SubprocessError rather than a RuntimeError

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91074:a402a0d7ee30 Date: 2017-04-17 21:35 +0200 http://bitbucket.org/pypy/pypy/changeset/a402a0d7ee30/ Log:Apply CPython rev 9180fb4eccc7: Raise our own SubprocessError rather than a RuntimeError when dealing with odd rare errors

[pypy-commit] pypy py3.5: Use our space.objects_in_repr() dict, instead of the decorator in reprlib.py which imports too many things.

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91071:6a485971d4fa Date: 2017-04-17 18:46 +0200 http://bitbucket.org/pypy/pypy/changeset/6a485971d4fa/ Log:Use our space.objects_in_repr() dict, instead of the decorator in reprlib.py which imports too many things. diff --git a/l

[pypy-commit] pypy py3.5: Avoid importing the full locale module during _io initialization.

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91066:db0c73821d75 Date: 2017-04-17 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/db0c73821d75/ Log:Avoid importing the full locale module during _io initialization. CPython change fbbf8b160e8d diff --git a/pypy/module/_io

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

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91069:8059c5eb1ca8 Date: 2017-04-17 17:28 +0200 http://bitbucket.org/pypy/pypy/changeset/8059c5eb1ca8/ Log:hg merge default diff too long, truncating to 2000 out of 18946 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.h

[pypy-commit] pypy default: Move to ObjSpace the management of the thread-local set of 'currently_in_repr' objects.

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r91068:994394c09421 Date: 2017-04-17 17:18 +0200 http://bitbucket.org/pypy/pypy/changeset/994394c09421/ Log:Move to ObjSpace the management of the thread-local set of 'currently_in_repr' objects. It will be easier to expose it to

[pypy-commit] pypy py3.5: Don't freeze operator.py, use _operator instead.

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91073:4a1ca556668a Date: 2017-04-17 21:15 +0200 http://bitbucket.org/pypy/pypy/changeset/4a1ca556668a/ Log:Don't freeze operator.py, use _operator instead. diff --git a/pypy/objspace/std/sliceobject.py b/pypy/objspace/std/sliceobject.py

[pypy-commit] pypy py3.5: Fix translation

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91070:61b843dccbd8 Date: 2017-04-17 18:21 +0200 http://bitbucket.org/pypy/pypy/changeset/61b843dccbd8/ Log:Fix translation diff --git a/pypy/interpreter/astcompiler/symtable.py b/pypy/interpreter/astcompiler/symtable.py --- a/pypy/inter

[pypy-commit] pypy py3.5: Move SimpleNamespace to lib_pypy, this avoids freezing the 'types' module,

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91067:34a763246fde Date: 2017-04-17 15:27 +0200 http://bitbucket.org/pypy/pypy/changeset/34a763246fde/ Log:Move SimpleNamespace to lib_pypy, this avoids freezing the 'types' module, and also 'functools', 'collections', 'weakref'..

[pypy-commit] pypy py3.5: Try harder to reduce the number of modules imported at startup.

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91072:f2d2c66f439d Date: 2017-04-17 21:14 +0200 http://bitbucket.org/pypy/pypy/changeset/f2d2c66f439d/ Log:Try harder to reduce the number of modules imported at startup. diff --git a/lib-python/3/site.py b/lib-python/3/site.py --- a/lib

[pypy-commit] pypy PyBuffer: simplify and document PyBuffer.getbytes()

2017-04-17 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r91065:b87693784bb0 Date: 2017-04-17 18:17 +0100 http://bitbucket.org/pypy/pypy/changeset/b87693784bb0/ Log:simplify and document PyBuffer.getbytes() diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py --- a/pypy/interpreter/buf

[pypy-commit] pypy PyBuffer: fix .tolist() on slices

2017-04-17 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r91064:30be5c409ea0 Date: 2017-04-17 17:56 +0100 http://bitbucket.org/pypy/pypy/changeset/30be5c409ea0/ Log:fix .tolist() on slices diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py --- a/pypy/interpreter/buffer.py +++ b/pypy/

[pypy-commit] pypy PyBuffer: Avoid skipping most tests in this file when running on CPython with -A

2017-04-17 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r91063:8252315ff919 Date: 2017-04-17 16:03 +0100 http://bitbucket.org/pypy/pypy/changeset/8252315ff919/ Log:Avoid skipping most tests in this file when running on CPython with -A diff --git a/pypy/objspace/std/test/test_memoryobject.py

[pypy-commit] pypy PyBuffer: Use .value_from_bytes() in ._getitem_tuple_indexed()

2017-04-17 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer Changeset: r91062:3f7d3c653bf9 Date: 2017-04-17 15:52 +0100 http://bitbucket.org/pypy/pypy/changeset/3f7d3c653bf9/ Log:Use .value_from_bytes() in ._getitem_tuple_indexed() diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py