[pypy-commit] pypy py3.5: DeprecationWarning when opening in 'U' mode

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89505:623575878821 Date: 2017-01-12 14:53 +0100 http://bitbucket.org/pypy/pypy/changeset/623575878821/ Log:DeprecationWarning when opening in 'U' mode diff --git a/pypy/module/_io/interp_io.py b/pypy/module/_io/interp_io.py --- a/pypy/module/_io/i

[pypy-commit] pypy py3.5: Detect null bytes in unicode or byte strings for the OS functions

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89506:6e3116ffd73c Date: 2017-01-12 15:17 +0100 http://bitbucket.org/pypy/pypy/changeset/6e3116ffd73c/ Log:Detect null bytes in unicode or byte strings for the OS functions diff --git a/pypy/interpreter/test/test_fsencode.py b/pypy/interpreter/te

[pypy-commit] pypy py3.5: Skip a test that cannot pass on PyPy

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89511:b84e248dea00 Date: 2017-01-12 15:26 +0100 http://bitbucket.org/pypy/pypy/changeset/b84e248dea00/ Log:Skip a test that cannot pass on PyPy diff --git a/lib-python/3/test/test_module.py b/lib-python/3/test/test_module.py --- a/lib-python/3/tes

[pypy-commit] pypy py3.5: fix test

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89512:833aad96c408 Date: 2017-01-12 15:40 +0100 http://bitbucket.org/pypy/pypy/changeset/833aad96c408/ Log:fix test diff --git a/pypy/interpreter/test/test_fsencode.py b/pypy/interpreter/test/test_fsencode.py --- a/pypy/interpreter/test/test_fsen

[pypy-commit] pypy rffi-parser-2: Add missing declarations needed by PyTypeObject

2017-01-12 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser-2 Changeset: r89509:7b3731d591e4 Date: 2016-12-18 03:40 + http://bitbucket.org/pypy/pypy/changeset/7b3731d591e4/ Log:Add missing declarations needed by PyTypeObject diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module

[pypy-commit] pypy rffi-parser-2: Complete the declaration of PyTypeObject

2017-01-12 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser-2 Changeset: r89508:5897cf94242d Date: 2016-12-18 02:07 + http://bitbucket.org/pypy/pypy/changeset/5897cf94242d/ Log:Complete the declaration of PyTypeObject diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext

[pypy-commit] pypy rffi-parser-2: hg merge default

2017-01-12 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser-2 Changeset: r89510:421ea2f68c13 Date: 2017-01-12 14:34 + http://bitbucket.org/pypy/pypy/changeset/421ea2f68c13/ Log:hg merge default diff too long, truncating to 2000 out of 2826 lines diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-he

[pypy-commit] pypy py3.5: Delay adding __package__, __loader__ and __spec__ in a new module's dict

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89513:47871510f0e3 Date: 2017-01-12 15:45 +0100 http://bitbucket.org/pypy/pypy/changeset/47871510f0e3/ Log:Delay adding __package__, __loader__ and __spec__ in a new module's dict to the actual call of __init__() diff --git a/pypy/interpre

[pypy-commit] pypy rffi-parser-2: Expand pseudo-header

2017-01-12 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser-2 Changeset: r89507:02d7b8efbcaa Date: 2016-12-18 01:38 + http://bitbucket.org/pypy/pypy/changeset/02d7b8efbcaa/ Log:Expand pseudo-header diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/m

[pypy-commit] pypy py3.5: - Skip a test that cannot pass on PyPy

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89514:c217aa239223 Date: 2017-01-12 16:08 +0100 http://bitbucket.org/pypy/pypy/changeset/c217aa239223/ Log:- Skip a test that cannot pass on PyPy - Update a test with its content in the latest 3.5.x version, because neither PyPy no

[pypy-commit] pypy py3.5: generalize the expected error messages

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89515:511e7a4e706b Date: 2017-01-12 16:13 +0100 http://bitbucket.org/pypy/pypy/changeset/511e7a4e706b/ Log:generalize the expected error messages diff --git a/lib-python/3/test/test_syntax.py b/lib-python/3/test/test_syntax.py --- a/lib-python/3/t

[pypy-commit] pypy default: Fix the warnings in audioop, introduced in a recent cffi version

2017-01-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r89516:532396b48a7f Date: 2017-01-12 16:26 +0100 http://bitbucket.org/pypy/pypy/changeset/532396b48a7f/ Log:Fix the warnings in audioop, introduced in a recent cffi version diff --git a/lib_pypy/audioop.py b/lib_pypy/audioop.py --- a/lib_pypy/audioop.py

[pypy-commit] pypy py3.5: Fix the hack: it's possible to call subprocess.Popen() with

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89517:8b095830ab66 Date: 2017-01-12 16:30 +0100 http://bitbucket.org/pypy/pypy/changeset/8b095830ab66/ Log:Fix the hack: it's possible to call subprocess.Popen() with a generator or other lazy object as 'args' diff --git a/lib-python/3/sub

[pypy-commit] pypy py3.5: All the tests give a sensible result on PyPy too (tested manually in

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89518:51b0c8f1d834 Date: 2017-01-12 16:55 +0100 http://bitbucket.org/pypy/pypy/changeset/51b0c8f1d834/ Log:All the tests give a sensible result on PyPy too (tested manually in py3.5, revision e0ba73be669b, by setting maxDiff=None in the cla

[pypy-commit] pypy py3.5: call int() on ffi.cast("intptr_t", ...) to ensure string formating does not throw

2017-01-12 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r89519:a372a26b6ec0 Date: 2017-01-12 17:33 +0100 http://bitbucket.org/pypy/pypy/changeset/a372a26b6ec0/ Log:call int() on ffi.cast("intptr_t", ...) to ensure string formating does not throw diff --git a/lib_pypy/_tkinter/tclobj.py b/l

[pypy-commit] pypy rffi-parser-2: Add a way to create API functions using C declarations; try to use it

2017-01-12 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser-2 Changeset: r89520:05b94a8b7e3d Date: 2017-01-12 16:40 + http://bitbucket.org/pypy/pypy/changeset/05b94a8b7e3d/ Log:Add a way to create API functions using C declarations; try to use it diff --git a/pypy/module/cpyext/api.py b/pypy/module/c

[pypy-commit] pypy py3.5: add failing test from stdlib for memoryview

2017-01-12 Thread plan_rich
Author: Richard Plangger Branch: py3.5 Changeset: r89521:de8975b7947d Date: 2017-01-12 18:13 +0100 http://bitbucket.org/pypy/pypy/changeset/de8975b7947d/ Log:add failing test from stdlib for memoryview diff --git a/pypy/objspace/std/test/test_memoryobject.py b/pypy/objspace/std/test/test_me

[pypy-commit] pypy default: replace commenting-out-some-lines with check_impl_detail()

2017-01-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r89523:4b05cf3a2baf Date: 2017-01-12 18:15 +0100 http://bitbucket.org/pypy/pypy/changeset/4b05cf3a2baf/ Log:replace commenting-out-some-lines with check_impl_detail() diff --git a/lib-python/2.7/test/test_multiprocessing.py b/lib-python/2.7/test/test_m

[pypy-commit] pypy py3.5: The T_XXX assignments now do range checking and raise a warning

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89525:f7ca99898732 Date: 2017-01-12 19:01 +0100 http://bitbucket.org/pypy/pypy/changeset/f7ca99898732/ Log:The T_XXX assignments now do range checking and raise a warning diff --git a/pypy/module/cpyext/structmember.py b/pypy/module/cpyext/struct

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

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89527:daf8de0e7dab Date: 2017-01-12 19:25 +0100 http://bitbucket.org/pypy/pypy/changeset/daf8de0e7dab/ Log:merge heads diff --git a/lib_pypy/_tkinter/tclobj.py b/lib_pypy/_tkinter/tclobj.py --- a/lib_pypy/_tkinter/tclobj.py +++ b/lib_pypy/_tkinter

[pypy-commit] pypy py3.5: Fix (without test, because there doesn't seem to be any test for the

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89524:24048a09826f Date: 2017-01-12 18:26 +0100 http://bitbucket.org/pypy/pypy/changeset/24048a09826f/ Log:Fix (without test, because there doesn't seem to be any test for the whole module; relying here on lib- python/3/test/test_st

[pypy-commit] pypy py3.5: obscure fixes for test___all__.py

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89522:048d4b329858 Date: 2017-01-12 18:07 +0100 http://bitbucket.org/pypy/pypy/changeset/048d4b329858/ Log:obscure fixes for test___all__.py diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/module/posix/__init_

[pypy-commit] pypy py3.5: Update the version numbers to 3.5.2, after 215771f42f81

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89526:dbe5313227fc Date: 2017-01-12 19:19 +0100 http://bitbucket.org/pypy/pypy/changeset/dbe5313227fc/ Log:Update the version numbers to 3.5.2, after 215771f42f81 diff --git a/pypy/module/cpyext/include/patchlevel.h b/pypy/module/cpyext/include/p

[pypy-commit] pypy rffi-parser-2: Skip part of the test when untranslated (because something something ctypes).

2017-01-12 Thread rlamy
Author: Ronan Lamy Branch: rffi-parser-2 Changeset: r89528:ccc4bbdd1a66 Date: 2017-01-12 19:10 + http://bitbucket.org/pypy/pypy/changeset/ccc4bbdd1a66/ Log:Skip part of the test when untranslated (because something something ctypes). diff --git a/pypy/module/cpyext/methodobject.p

[pypy-commit] pypy py3.5: Skip this cElementTree test like all others in this file.

2017-01-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r89529:056552e32143 Date: 2016-12-07 16:36 + http://bitbucket.org/pypy/pypy/changeset/056552e32143/ Log:Skip this cElementTree test like all others in this file. diff --git a/lib-python/3/test/test_xml_etree_c.py b/lib-python/3/test/

[pypy-commit] pypy py3.5: This is how CPython reports all assignments to reserved names.

2017-01-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r89530:a1c35f4c589a Date: 2017-01-12 22:16 +0100 http://bitbucket.org/pypy/pypy/changeset/a1c35f4c589a/ Log:This is how CPython reports all assignments to reserved names. (see test_syntax.py) diff --git a/pypy/interpreter/astcompi

[pypy-commit] pypy py3.5: pyclbr analyses the source code, and does not return aliased and renamed items.

2017-01-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r89531:da0283b19e53 Date: 2017-01-12 22:06 +0100 http://bitbucket.org/pypy/pypy/changeset/da0283b19e53/ Log:pyclbr analyses the source code, and does not return aliased and renamed items. This happens for pickle.py, when the _pickl

[pypy-commit] pypy py3.5: hg backout a1c35f4c589a

2017-01-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r89532:056335ce40d8 Date: 2017-01-12 23:03 +0100 http://bitbucket.org/pypy/pypy/changeset/056335ce40d8/ Log:hg backout a1c35f4c589a The test was fixed in 511e7a4e706b diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pyp

[pypy-commit] pypy py3.5: Test and fix for an issue with braces inside brackets

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89533:ec2d5317659d Date: 2017-01-12 23:13 +0100 http://bitbucket.org/pypy/pypy/changeset/ec2d5317659d/ Log:Test and fix for an issue with braces inside brackets diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat.py --- a/pyp

[pypy-commit] pypy py3.5: More tests and fixes

2017-01-12 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89534:ce9b5b7a5f2d Date: 2017-01-12 23:51 +0100 http://bitbucket.org/pypy/pypy/changeset/ce9b5b7a5f2d/ Log:More tests and fixes diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat.py --- a/pypy/objspace/std/newformat.py +++ b

[pypy-commit] pypy default: Fix doc

2017-01-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r89535:da438adf8c4f Date: 2017-01-13 00:26 +0100 http://bitbucket.org/pypy/pypy/changeset/da438adf8c4f/ Log:Fix doc diff --git a/pypy/doc/getting-started-dev.rst b/pypy/doc/getting-started-dev.rst --- a/pypy/doc/getting-started-dev.rst +++ b/pypy/doc/ge