[pypy-commit] pypy buffer-interface2: up the size of the fixed-size format buffer, try to warn if truncated. Test needed

2016-10-02 Thread mattip
Author: Matti Picus Branch: buffer-interface2 Changeset: r87517:fe8ec4c389c4 Date: 2016-10-02 14:14 +0300 http://bitbucket.org/pypy/pypy/changeset/fe8ec4c389c4/ Log:up the size of the fixed-size format buffer, try to warn if truncated. Test needed diff --git a/pypy/module/cpyext/incl

[pypy-commit] extradoc extradoc: updates

2016-10-02 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5723:81ada0a9b92a Date: 2016-10-02 17:15 +0200 http://bitbucket.org/pypy/extradoc/changeset/81ada0a9b92a/ Log:updates diff --git a/planning/py3.5/milestone-1-progress.rst b/planning/py3.5/milestone-1-progress.rst --- a/planning/py3.5/milestone

[pypy-commit] pypy py3.5: SyntaxError message for 2.7-style 'print'

2016-10-02 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r87518:8779468a827d Date: 2016-10-02 15:58 +0200 http://bitbucket.org/pypy/pypy/changeset/8779468a827d/ Log:SyntaxError message for 2.7-style 'print' diff --git a/pypy/interpreter/pyparser/pyparse.py b/pypy/interpreter/pyparser/pyparse.py --- a/py

[pypy-commit] pypy default: Fix test

2016-10-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r87519:18293703d573 Date: 2016-10-02 17:24 +0200 http://bitbucket.org/pypy/pypy/changeset/18293703d573/ Log:Fix test diff --git a/rpython/translator/backendopt/test/test_mallocprediction.py b/rpython/translator/backendopt/test/test_mallocprediction.py

[pypy-commit] extradoc extradoc: Update to the current abstract

2016-10-02 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5724:6c7cb7b0d8ce Date: 2016-10-02 17:31 +0200 http://bitbucket.org/pypy/extradoc/changeset/6c7cb7b0d8ce/ Log:Update to the current abstract diff --git a/talk/pyconza2016/cffi-revdb.rst b/talk/pyconza2016/revdb.rst rename from talk/pyconza2016/

[pypy-commit] pypy stdlib-2.7.12: fix pickling of stopped reversed types

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87521:714b2a3cb52d Date: 2016-10-02 10:36 -0700 http://bitbucket.org/pypy/pypy/changeset/714b2a3cb52d/ Log:fix pickling of stopped reversed types diff --git a/pypy/interpreter/test/test_zzpickle_and_slow.py b/pypy/interpreter/test/test

[pypy-commit] pypy stdlib-2.7.12: ensure reversed types always free their sequence when finished

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87520:b6a910081211 Date: 2016-10-01 17:27 -0700 http://bitbucket.org/pypy/pypy/changeset/b6a910081211/ Log:ensure reversed types always free their sequence when finished diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/

[pypy-commit] pypy stdlib-2.7.12: expect pickle's errors from pypy's cPickle

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87522:47ca169036ed Date: 2016-10-02 10:51 -0700 http://bitbucket.org/pypy/pypy/changeset/47ca169036ed/ Log:expect pickle's errors from pypy's cPickle diff --git a/lib-python/2.7/test/test_cpickle.py b/lib-python/2.7/test/test_cpickle.p

[pypy-commit] pypy stdlib-2.7.12: disallow kwargs

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87523:c6167130f731 Date: 2016-10-02 11:05 -0700 http://bitbucket.org/pypy/pypy/changeset/c6167130f731/ Log:disallow kwargs diff --git a/pypy/module/_weakref/interp__weakref.py b/pypy/module/_weakref/interp__weakref.py --- a/pypy/module

[pypy-commit] pypy stdlib-2.7.12: pass thru numeric subclasses returned from __int/long/trunc__

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87524:a2d8b4680ef9 Date: 2016-10-02 12:15 -0700 http://bitbucket.org/pypy/pypy/changeset/a2d8b4680ef9/ Log:pass thru numeric subclasses returned from __int/long/trunc__ diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/int

[pypy-commit] pypy stdlib-2.7.12: simplify: W_IntObject.descr_long now returns small longs

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87525:3e88e4b495e3 Date: 2016-10-02 12:22 -0700 http://bitbucket.org/pypy/pypy/changeset/3e88e4b495e3/ Log:simplify: W_IntObject.descr_long now returns small longs diff --git a/pypy/objspace/std/smalllongobject.py b/pypy/objspace/std/s

[pypy-commit] pypy default: Issue #2409: don't leak the file descriptor when doing "open('some-dir')"

2016-10-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r87526:e696492591c7 Date: 2016-10-02 21:56 +0200 http://bitbucket.org/pypy/pypy/changeset/e696492591c7/ Log:Issue #2409: don't leak the file descriptor when doing "open('some- dir')" diff --git a/pypy/module/_file/interp_file.py b/pypy/module/_f

[pypy-commit] pypy stdlib-2.7.12: support negative read sizes w/ buffers

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87527:f9c4e5079020 Date: 2016-10-02 13:53 -0700 http://bitbucket.org/pypy/pypy/changeset/f9c4e5079020/ Log:support negative read sizes w/ buffers diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py --- a/pypy/mo

[pypy-commit] pypy stdlib-2.7.12: gc_collect here

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87528:cf46e241af85 Date: 2016-10-02 13:56 -0700 http://bitbucket.org/pypy/pypy/changeset/cf46e241af85/ Log:gc_collect here diff --git a/lib-python/2.7/test/test_exceptions.py b/lib-python/2.7/test/test_exceptions.py --- a/lib-python/2.

[pypy-commit] pypy stdlib-2.7.12: fix mutation: length_hint wasn't exhausting correctly (and shouldn't

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87529:f8f420b37c8e Date: 2016-10-02 15:33 -0700 http://bitbucket.org/pypy/pypy/changeset/f8f420b37c8e/ Log:fix mutation: length_hint wasn't exhausting correctly (and shouldn't anyway) diff --git a/pypy/objspace/std/iterobject.py

[pypy-commit] pypy stdlib-2.7.12: cPickle triggers IndexError too

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87530:774253c33e4c Date: 2016-10-02 15:42 -0700 http://bitbucket.org/pypy/pypy/changeset/774253c33e4c/ Log:cPickle triggers IndexError too diff --git a/lib-python/2.7/test/test_cpickle.py b/lib-python/2.7/test/test_cpickle.py --- a/lib

[pypy-commit] pypy stdlib-2.7.12: tigthen partial.__setstate__

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87531:a4a7312e476a Date: 2016-10-02 16:10 -0700 http://bitbucket.org/pypy/pypy/changeset/a4a7312e476a/ Log:tigthen partial.__setstate__ diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py --- a/lib_pypy/_functools.py +++ b/lib_

[pypy-commit] pypy stdlib-2.7.12: oops

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87532:2e07f3834086 Date: 2016-10-02 16:19 -0700 http://bitbucket.org/pypy/pypy/changeset/2e07f3834086/ Log:oops diff --git a/lib-python/2.7/test/test_dis.py b/lib-python/2.7/test/test_dis.py --- a/lib-python/2.7/test/test_dis.py +++ b/l

[pypy-commit] pypy stdlib-2.7.12: TypeError's acceptable on 2.x

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87534:ad6aff1e8434 Date: 2016-10-02 20:28 -0700 http://bitbucket.org/pypy/pypy/changeset/ad6aff1e8434/ Log:TypeError's acceptable on 2.x diff --git a/lib-python/2.7/test/test_builtin.py b/lib-python/2.7/test/test_builtin.py --- a/lib-p

[pypy-commit] pypy stdlib-2.7.12: needs a tuple per a4a7312e476a

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87533:97f0df00aa70 Date: 2016-10-02 20:24 -0700 http://bitbucket.org/pypy/pypy/changeset/97f0df00aa70/ Log:needs a tuple per a4a7312e476a diff --git a/pypy/module/test_lib_pypy/test_functools.py b/pypy/module/test_lib_pypy/test_functoo

[pypy-commit] pypy stdlib-2.7.12: a2d8b4680ef9 for old style classes: pass thru numeric subclasses

2016-10-02 Thread pjenvey
Author: Philip Jenvey Branch: stdlib-2.7.12 Changeset: r87535:72df4e872a46 Date: 2016-10-02 21:24 -0700 http://bitbucket.org/pypy/pypy/changeset/72df4e872a46/ Log:a2d8b4680ef9 for old style classes: pass thru numeric subclasses returned from __trunc__ diff --git a/pypy/module/__built

[pypy-commit] pypy py3k: hg merge default

2016-10-02 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r87537:6d29b5118ea6 Date: 2016-10-03 05:54 +0200 http://bitbucket.org/pypy/pypy/changeset/6d29b5118ea6/ 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/whats

[pypy-commit] pypy default: Make build_cffi_imports.py py3k-compatible.

2016-10-02 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r87536:cdd76c7d62eb Date: 2016-10-03 05:53 +0200 http://bitbucket.org/pypy/pypy/changeset/cdd76c7d62eb/ Log:Make build_cffi_imports.py py3k-compatible. diff --git a/pypy/tool/build_cffi_imports.py b/pypy/tool/build_cffi_imports.py --- a/pypy/tool/buil

[pypy-commit] pypy py3k: Make runsubprocess.py work on Python 3.

2016-10-02 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r87538:a544b65b564f Date: 2016-10-03 07:42 +0200 http://bitbucket.org/pypy/pypy/changeset/a544b65b564f/ Log:Make runsubprocess.py work on Python 3. This is needed for build_cffi_imports.py. diff --git a/rpython/tool/runsubprocess.py b/rpy

[pypy-commit] pypy py3k: 2to3

2016-10-02 Thread mjacob
Author: Manuel Jacob Branch: py3k Changeset: r87539:b7f4ac3cf6b2 Date: 2016-10-03 07:55 +0200 http://bitbucket.org/pypy/pypy/changeset/b7f4ac3cf6b2/ Log:2to3 diff --git a/pypy/objspace/std/test/test_bytesobject.py b/pypy/objspace/std/test/test_bytesobject.py --- a/pypy/objspace/std/test/tes