[pypy-commit] cffi strbuf-as-buffer: readd two lines accidentaly removed

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r2850:b301c37c91bb Date: 2017-01-03 09:27 +0100 http://bitbucket.org/cffi/cffi/changeset/b301c37c91bb/ Log:readd two lines accidentaly removed diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -3426,6 +3

[pypy-commit] pypy strbuf-as-buffer: added comments and remove typo, update error message

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r89327:a22f7d7e919f Date: 2017-01-03 09:51 +0100 http://bitbucket.org/pypy/pypy/changeset/a22f7d7e919f/ Log:added comments and remove typo, update error message diff --git a/lib_pypy/_ctypes/basics.py b/lib_pypy/_ctypes/basics.py -

[pypy-commit] pypy strbuf-as-buffer: merge default

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r89328:494bd552b4dd Date: 2017-01-03 09:53 +0100 http://bitbucket.org/pypy/pypy/changeset/494bd552b4dd/ Log:merge default diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -28,7 +28,7 @@ DEALINGS IN THE SOFTWARE.

[pypy-commit] cffi strbuf-as-buffer: kill invalid_input_buffer_type, update docs to state that now only unicode objects are forbidden

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r2851:44df83151f36 Date: 2017-01-03 10:04 +0100 http://bitbucket.org/cffi/cffi/changeset/44df83151f36/ Log:kill invalid_input_buffer_type, update docs to state that now only unicode objects are forbidden diff --git a/c/_cff

[pypy-commit] cffi strbuf-as-buffer: update whatsnew entry

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r2852:146c486af9a5 Date: 2017-01-03 10:07 +0100 http://bitbucket.org/cffi/cffi/changeset/146c486af9a5/ Log:update whatsnew entry diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst --- a/doc/source/whatsnew.rst +++ b/doc

[pypy-commit] pypy strbuf-as-buffer: kill invalid_input_buffer_type and simplify it to space.isinstance_w(w_x, space.w_unicode)

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: strbuf-as-buffer Changeset: r89329:fbcff82b11bb Date: 2017-01-03 10:26 +0100 http://bitbucket.org/pypy/pypy/changeset/fbcff82b11bb/ Log:kill invalid_input_buffer_type and simplify it to space.isinstance_w(w_x, space.w_unicode) diff --git a/pypy/module

[pypy-commit] cffi strbuf-as-buffer: Fix test

2017-01-03 Thread arigo
Author: Armin Rigo Branch: strbuf-as-buffer Changeset: r2853:dc41e3e1b6e2 Date: 2017-01-03 10:27 +0100 http://bitbucket.org/cffi/cffi/changeset/dc41e3e1b6e2/ Log:Fix test diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -3434,11 +3434,14 @@ except ImportErro

[pypy-commit] pypy default: Add many checks and tests until I found where to insert the two lines that fix 'r_int' support

2017-01-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r89330:ba112f125696 Date: 2017-01-03 10:43 +0100 http://bitbucket.org/pypy/pypy/changeset/ba112f125696/ Log:Add many checks and tests until I found where to insert the two lines that fix 'r_int' support diff --git a/rpython/jit/codewriter/assemb

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

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89331:b6b06ee0fb56 Date: 2017-01-03 10:47 +0100 http://bitbucket.org/pypy/pypy/changeset/b6b06ee0fb56/ Log:hg merge default diff --git a/rpython/jit/codewriter/assembler.py b/rpython/jit/codewriter/assembler.py --- a/rpython/jit/codewriter/assemb

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

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89332:776ecdbe8e0b Date: 2017-01-03 13:24 +0100 http://bitbucket.org/pypy/pypy/changeset/776ecdbe8e0b/ Log:py3 fix diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py --- a/pypy/module/_socket/test/t

[pypy-commit] pypy py3.5-time: extend structseqtype to allow invisible fields (see struct_time, tm_zone, tm_gmtoff)

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: py3.5-time Changeset: r89333:08e4f8a740d5 Date: 2017-01-03 13:52 +0100 http://bitbucket.org/pypy/pypy/changeset/08e4f8a740d5/ Log:extend structseqtype to allow invisible fields (see struct_time, tm_zone, tm_gmtoff) diff --git a/lib_pypy/_structseq.py

[pypy-commit] pypy py3.5-time: better fit the visible field concept with extra_fields in _structseq.py

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: py3.5-time Changeset: r89334:048cc5e4d429 Date: 2017-01-03 15:31 +0100 http://bitbucket.org/pypy/pypy/changeset/048cc5e4d429/ Log:better fit the visible field concept with extra_fields in _structseq.py diff --git a/lib_pypy/_structseq.py b/lib_pypy/_s

[pypy-commit] pypy py3.5-time: introduce invisible fields, now the test_time.py suite passes

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: py3.5-time Changeset: r89335:290ed01b7833 Date: 2017-01-03 15:45 +0100 http://bitbucket.org/pypy/pypy/changeset/290ed01b7833/ Log:introduce invisible fields, now the test_time.py suite passes diff --git a/lib_pypy/_structseq.py b/lib_pypy/_structseq.py --- a/

[pypy-commit] pypy py3.5-time: removed leak, simplified (removed invisfields, not needed)

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: py3.5-time Changeset: r89336:6498ac1ab56d Date: 2017-01-03 15:57 +0100 http://bitbucket.org/pypy/pypy/changeset/6498ac1ab56d/ Log:removed leak, simplified (removed invisfields, not needed) diff --git a/lib_pypy/_structseq.py b/lib_pypy/_structseq.py --- a/lib

[pypy-commit] pypy py3.5-time: variable not visible

2017-01-03 Thread plan_rich
Author: Richard Plangger Branch: py3.5-time Changeset: r89337:29578064d2db Date: 2017-01-03 16:02 +0100 http://bitbucket.org/pypy/pypy/changeset/29578064d2db/ Log:variable not visible diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp_time.py --- a/pypy/module/time/interp

[pypy-commit] pypy cpyext-cleanup: fix tests

2017-01-03 Thread rlamy
Author: Ronan Lamy Branch: cpyext-cleanup Changeset: r89338:ecfe2f400573 Date: 2017-01-03 16:02 + http://bitbucket.org/pypy/pypy/changeset/ecfe2f400573/ Log:fix tests diff --git a/pypy/module/cpyext/test/test_api.py b/pypy/module/cpyext/test/test_api.py --- a/pypy/module/cpyext/test/tes

[pypy-commit] pypy cpyext-cleanup: Simplify declaration of _PyExc_xxx objects

2017-01-03 Thread rlamy
Author: Ronan Lamy Branch: cpyext-cleanup Changeset: r89339:b0f085b855a5 Date: 2017-01-03 16:44 + http://bitbucket.org/pypy/pypy/changeset/b0f085b855a5/ Log:Simplify declaration of _PyExc_xxx objects diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpy

[pypy-commit] pypy py3.5: Support bytearrays in unix domain socket names

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89340:d1e27385329f Date: 2017-01-03 17:57 +0100 http://bitbucket.org/pypy/pypy/changeset/d1e27385329f/ Log:Support bytearrays in unix domain socket names diff --git a/pypy/module/_socket/interp_socket.py b/pypy/module/_socket/interp_socket.py ---

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

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89341:33162b5a4231 Date: 2017-01-03 18:07 +0100 http://bitbucket.org/pypy/pypy/changeset/33162b5a4231/ Log:generalize the error messages expected by this test diff --git a/lib-python/3/test/test_socket.py b/lib-python/3/test/test_socket.py --- a/l

[pypy-commit] pypy py3.5: Fix two tests, remove two other old-style class tests

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89342:e3a207b54c14 Date: 2017-01-03 18:16 +0100 http://bitbucket.org/pypy/pypy/changeset/e3a207b54c14/ Log:Fix two tests, remove two other old-style class tests diff --git a/pypy/module/pypyjit/test_pypy_c/test_instance.py b/pypy/module/pypyjit/t

[pypy-commit] pypy py3.5: A failing test that is the root cause of the failures of tests checking

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89343:ddae4777286a Date: 2017-01-03 18:29 +0100 http://bitbucket.org/pypy/pypy/changeset/ddae4777286a/ Log:A failing test that is the root cause of the failures of tests checking Warnings diff --git a/pypy/module/_warnings/test/test_warnin

[pypy-commit] pypy py3.5: Use a simpler, direct method of implementing space.warn()

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89344:4be96d48f937 Date: 2017-01-03 18:49 +0100 http://bitbucket.org/pypy/pypy/changeset/4be96d48f937/ Log:Use a simpler, direct method of implementing space.warn() diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py -

[pypy-commit] pypy py3.5: Update the _warnings module to CPython 3.5

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89345:018a60dc3997 Date: 2017-01-03 19:26 +0100 http://bitbucket.org/pypy/pypy/changeset/018a60dc3997/ Log:Update the _warnings module to CPython 3.5 diff --git a/pypy/module/_warnings/__init__.py b/pypy/module/_warnings/__init__.py --- a/pypy/mo

[pypy-commit] pypy py3.5: Need to remove frames from both importlib._bootstrap and

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89346:05c795ec40f6 Date: 2017-01-03 19:42 +0100 http://bitbucket.org/pypy/pypy/changeset/05c795ec40f6/ Log:Need to remove frames from both importlib._bootstrap and importlib._bootstrap_external diff --git a/pypy/interpreter/error.py b/pypy

[pypy-commit] pypy py3.5: fix

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89347:c5679870cc23 Date: 2017-01-03 19:50 +0100 http://bitbucket.org/pypy/pypy/changeset/c5679870cc23/ Log:fix diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py +++ b/pypy/inter

[pypy-commit] pypy py3.5: Not exactly sure why, but in a translated pypy we also see this

2017-01-03 Thread arigo
Author: Armin Rigo Branch: py3.5 Changeset: r89348:88b6bdd9f8d3 Date: 2017-01-03 20:42 +0100 http://bitbucket.org/pypy/pypy/changeset/88b6bdd9f8d3/ Log:Not exactly sure why, but in a translated pypy we also see this alternative co_filename diff --git a/pypy/module/_frozen_importlib/i

[pypy-commit] pypy py3.5: Update test to check for ValueError instead of TypeError.

2017-01-03 Thread mjacob
Author: Manuel Jacob Branch: py3.5 Changeset: r89349:6ca32c9a5a9c Date: 2017-01-04 01:07 +0100 http://bitbucket.org/pypy/pypy/changeset/6ca32c9a5a9c/ Log:Update test to check for ValueError instead of TypeError. This is also what CPython 3.5.2 raises in this case. diff --git a/pypy/

[pypy-commit] pypy py3.5: Add 'select' to list of used modules in test.

2017-01-03 Thread mjacob
Author: Manuel Jacob Branch: py3.5 Changeset: r89350:3c9879434b91 Date: 2017-01-04 01:20 +0100 http://bitbucket.org/pypy/pypy/changeset/3c9879434b91/ Log:Add 'select' to list of used modules in test. diff --git a/pypy/module/pyexpat/test/test_parser.py b/pypy/module/pyexpat/test/test_parser

[pypy-commit] pypy py3.5: 2to3: 'returns_unicode' attribute isn't present on Python 3.

2017-01-03 Thread mjacob
Author: Manuel Jacob Branch: py3.5 Changeset: r89351:5c8d5e46cf84 Date: 2017-01-04 01:23 +0100 http://bitbucket.org/pypy/pypy/changeset/5c8d5e46cf84/ Log:2to3: 'returns_unicode' attribute isn't present on Python 3. diff --git a/pypy/module/pyexpat/test/test_parser.py b/pypy/module/pyexpat/t

[pypy-commit] pypy py3.5: 2to3

2017-01-03 Thread mjacob
Author: Manuel Jacob Branch: py3.5 Changeset: r89352:a222998f6e68 Date: 2017-01-04 01:38 +0100 http://bitbucket.org/pypy/pypy/changeset/a222998f6e68/ Log:2to3 diff --git a/pypy/module/mmap/test/test_mmap.py b/pypy/module/mmap/test/test_mmap.py --- a/pypy/module/mmap/test/test_mmap.py +++ b/

[pypy-commit] pypy py3.5: Add newutf8 to fake objspace.

2017-01-03 Thread mjacob
Author: Manuel Jacob Branch: py3.5 Changeset: r89355:42f98dcdd48f Date: 2017-01-04 02:02 +0100 http://bitbucket.org/pypy/pypy/changeset/42f98dcdd48f/ Log:Add newutf8 to fake objspace. diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py --- a/pypy/objspace/fake/objspa

[pypy-commit] pypy cpyext-cleanup: Simplify creation of remaining #defines in pypy_macros.h

2017-01-03 Thread rlamy
Author: Ronan Lamy Branch: cpyext-cleanup Changeset: r89354:26767850c0c5 Date: 2017-01-04 01:01 + http://bitbucket.org/pypy/pypy/changeset/26767850c0c5/ Log:Simplify creation of remaining #defines in pypy_macros.h diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/p

[pypy-commit] pypy cpyext-cleanup: Put the defines for global symbols in the decl file in all cases

2017-01-03 Thread rlamy
Author: Ronan Lamy Branch: cpyext-cleanup Changeset: r89353:93a816b0600f Date: 2017-01-04 00:34 + http://bitbucket.org/pypy/pypy/changeset/93a816b0600f/ Log:Put the defines for global symbols in the decl file in all cases diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py