[pypy-commit] pypy sandbox-2: in-progress: enforce a review on functions manipulating directly

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97259:906b820ecdac Date: 2019-08-26 10:51 +0200 http://bitbucket.org/pypy/pypy/changeset/906b820ecdac/ Log:in-progress: enforce a review on functions manipulating directly low-level pointers or doing any other strange things diff --git

[pypy-commit] pypy sandbox-2: in-progress

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97260:84f2711b0798 Date: 2019-08-26 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/84f2711b0798/ Log:in-progress diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py --- a/rpython/memory/gc/incminimark.py +++

[pypy-commit] pypy sandbox-2: Direct tests

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97261:0328e9de2ba0 Date: 2019-08-26 11:31 +0200 http://bitbucket.org/pypy/pypy/changeset/0328e9de2ba0/ Log:Direct tests diff --git a/rpython/translator/sandbox/graphchecker.py b/rpython/translator/sandbox/graphchecker.py --- a/rpython/transla

[pypy-commit] pypy sandbox-2: in-progress

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97262:9b6556323472 Date: 2019-08-26 14:11 +0200 http://bitbucket.org/pypy/pypy/changeset/9b6556323472/ Log:in-progress diff --git a/pypy/module/__pypy__/interp_debug.py b/pypy/module/__pypy__/interp_debug.py --- a/pypy/module/__pypy__/interp_

[pypy-commit] pypy sandbox-2: fix

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97263:8bd962a47352 Date: 2019-08-26 14:19 +0200 http://bitbucket.org/pypy/pypy/changeset/8bd962a47352/ Log:fix diff --git a/rpython/rlib/rgc.py b/rpython/rlib/rgc.py --- a/rpython/rlib/rgc.py +++ b/rpython/rlib/rgc.py @@ -373,7 +373,7 @@

[pypy-commit] pypy default: Check for a rare case of someone shrinking the buffer from another thread

2019-08-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r97264:215ea348ccb4 Date: 2019-08-26 16:31 +0200 http://bitbucket.org/pypy/pypy/changeset/215ea348ccb4/ Log:Check for a rare case of someone shrinking the buffer from another thread while using it in a read() variant diff --git a/pypy/module/_fi

[pypy-commit] pypy sandbox-2: Tweaks

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97266:7c1bcd64f114 Date: 2019-08-26 16:59 +0200 http://bitbucket.org/pypy/pypy/changeset/7c1bcd64f114/ Log:Tweaks diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py --- a/pypy/module/array/interp_array.py +++ b

[pypy-commit] pypy sandbox-2: hg merge default

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97265:0d5f51e7a2c8 Date: 2019-08-26 16:32 +0200 http://bitbucket.org/pypy/pypy/changeset/0d5f51e7a2c8/ Log:hg merge default diff too long, truncating to 2000 out of 29422 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignor

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

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6 Changeset: r97267:e4eba87b1754 Date: 2019-08-26 17:04 +0200 http://bitbucket.org/pypy/pypy/changeset/e4eba87b1754/ Log:hg merge default diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py --- a/pypy/interpreter/app_main.py +++ b/pypy/inte

[pypy-commit] pypy py3.6: Copy here the logic to check for shrunk buffers

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6 Changeset: r97269:bfbf7d164327 Date: 2019-08-26 17:11 +0200 http://bitbucket.org/pypy/pypy/changeset/bfbf7d164327/ Log:Copy here the logic to check for shrunk buffers diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py --

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

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6 Changeset: r97268:08f03166561f Date: 2019-08-26 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/08f03166561f/ Log:merge heads diff --git a/lib-python/3/test/list_tests.py b/lib-python/3/test/list_tests.py --- a/lib-python/3/test/list_tests.py +++ b/lib-p

[pypy-commit] pypy py3.6-sandbox-2: merge 8bd962a47352

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6-sandbox-2 Changeset: r97272:3d2a0a3328e7 Date: 2019-08-26 17:20 +0200 http://bitbucket.org/pypy/pypy/changeset/3d2a0a3328e7/ Log:merge 8bd962a47352 diff --git a/pypy/module/__pypy__/interp_debug.py b/pypy/module/__pypy__/interp_debug.py --- a/pypy/module/__p

[pypy-commit] pypy py3.6-sandbox-2: merge 3f34199b0d1a

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6-sandbox-2 Changeset: r97271:b577a806f857 Date: 2019-08-26 17:18 +0200 http://bitbucket.org/pypy/pypy/changeset/b577a806f857/ Log:merge 3f34199b0d1a ___ pypy-commit mailing list [email protected] https://mail.py

[pypy-commit] pypy py3.6-sandbox-2: merge 0d5f51e7a2c8

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6-sandbox-2 Changeset: r97273:36a029317cc9 Date: 2019-08-26 17:21 +0200 http://bitbucket.org/pypy/pypy/changeset/36a029317cc9/ Log:merge 0d5f51e7a2c8 diff --git a/lib-python/3/_osx_support.py b/lib-python/3/_osx_support.py deleted file mode 100644 --- a/lib-pyt

[pypy-commit] pypy py3.6-sandbox-2: hg merge sandbox-2

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6-sandbox-2 Changeset: r97274:842a1a1386b0 Date: 2019-08-26 17:24 +0200 http://bitbucket.org/pypy/pypy/changeset/842a1a1386b0/ Log:hg merge sandbox-2 diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py --- a/pypy/module/array/int

[pypy-commit] pypy py3.6: With either the sandbox or the reverse-debugger, the hash used

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6 Changeset: r97275:6bb742c50a9f Date: 2019-08-26 17:53 +0200 http://bitbucket.org/pypy/pypy/changeset/6bb742c50a9f/ Log:With either the sandbox or the reverse-debugger, the hash used in pypy3 needs to be the old 'fnv' hash instead of 'siphash24'. Make i

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

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6 Changeset: r97279:889a5f9aec6c Date: 2019-08-26 18:05 +0200 http://bitbucket.org/pypy/pypy/changeset/889a5f9aec6c/ Log:hg merge default diff --git a/rpython/rlib/rsiphash.py b/rpython/rlib/rsiphash.py --- a/rpython/rlib/rsiphash.py +++ b/rpython/rlib/rsiphash

[pypy-commit] pypy default: Forbid calls to enable_siphash24() in sandbox or revdb mode

2019-08-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r97276:56e99531241f Date: 2019-08-26 17:57 +0200 http://bitbucket.org/pypy/pypy/changeset/56e99531241f/ Log:Forbid calls to enable_siphash24() in sandbox or revdb mode diff --git a/rpython/rlib/rsiphash.py b/rpython/rlib/rsiphash.py --- a/rpython/rlib/r

[pypy-commit] pypy py3.6-sandbox-2: hg merge py3.6

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6-sandbox-2 Changeset: r97278:933b68b2f394 Date: 2019-08-26 18:04 +0200 http://bitbucket.org/pypy/pypy/changeset/933b68b2f394/ Log:hg merge py3.6 ___ pypy-commit mailing list [email protected] https://mail.python

[pypy-commit] pypy py3.6-sandbox-2: hg merge py3.6

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6-sandbox-2 Changeset: r97280:6c760b893b6a Date: 2019-08-26 18:05 +0200 http://bitbucket.org/pypy/pypy/changeset/6c760b893b6a/ Log:hg merge py3.6 ___ pypy-commit mailing list [email protected] https://mail.python

[pypy-commit] pypy py3.6-sandbox-2: fixes

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6-sandbox-2 Changeset: r97277:fc77f4cd4352 Date: 2019-08-26 18:04 +0200 http://bitbucket.org/pypy/pypy/changeset/fc77f4cd4352/ Log:fixes diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/pypyopt

[pypy-commit] pypy default: don't slice the string several times when doing str-to-int conversion

2019-08-26 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: Changeset: r97281:520b3c9072f2 Date: 2019-08-26 21:05 +0200 http://bitbucket.org/pypy/pypy/changeset/520b3c9072f2/ Log:don't slice the string several times when doing str-to-int conversion diff --git a/rpython/rlib/rarithmetic.py b/rpython

[pypy-commit] pypy sandbox-2: some changes lost in the maze of merges

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97282:f87b640630bf Date: 2019-08-26 18:15 +0200 http://bitbucket.org/pypy/pypy/changeset/f87b640630bf/ Log:some changes lost in the maze of merges diff --git a/rpython/rlib/rsiphash.py b/rpython/rlib/rsiphash.py --- a/rpython/rlib/rsiphash.py

[pypy-commit] pypy py3.6-sandbox-2: hg merge sandbox-2

2019-08-26 Thread arigo
Author: Armin Rigo Branch: py3.6-sandbox-2 Changeset: r97284:bf3980d91358 Date: 2019-08-26 18:26 +0200 http://bitbucket.org/pypy/pypy/changeset/bf3980d91358/ Log:hg merge sandbox-2 diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib/rp

[pypy-commit] pypy sandbox-2: hg merge default

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97286:c82f896c86b5 Date: 2019-08-26 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/c82f896c86b5/ Log:hg merge default diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --- a/pypy/module/posix/interp_posi

[pypy-commit] pypy default: CPython raises NotImplementedError if /dev/urandom cannot be found.

2019-08-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r97285:a6c1ae01424e Date: 2019-08-26 22:31 +0200 http://bitbucket.org/pypy/pypy/changeset/a6c1ae01424e/ Log:CPython raises NotImplementedError if /dev/urandom cannot be found. To maximize compatibility, we should also raise NotImplementedError

[pypy-commit] pypy sandbox-2: three more sandbox_review

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97283:4a871bfc18fb Date: 2019-08-26 18:25 +0200 http://bitbucket.org/pypy/pypy/changeset/4a871bfc18fb/ Log:three more sandbox_review diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib/r

[pypy-commit] pypy py3.6: tweak tests for PyPy

2019-08-26 Thread mattip
Author: Matti Picus Branch: py3.6 Changeset: r97287:251eb63edc0f Date: 2019-08-27 00:27 +0300 http://bitbucket.org/pypy/pypy/changeset/251eb63edc0f/ Log:tweak tests for PyPy diff --git a/lib-python/3/unittest/test/test_case.py b/lib-python/3/unittest/test/test_case.py --- a/lib-python/3/uni

[pypy-commit] pypy sandbox-2: Fix some of the tests

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97288:7177f77afa08 Date: 2019-08-26 23:04 +0200 http://bitbucket.org/pypy/pypy/changeset/7177f77afa08/ Log:Fix some of the tests diff --git a/rpython/translator/sandbox/graphchecker.py b/rpython/translator/sandbox/graphchecker.py --- a/rpytho

[pypy-commit] pypy sandbox-2: in-progress

2019-08-26 Thread arigo
Author: Armin Rigo Branch: sandbox-2 Changeset: r97289:f4bf2fbd0c19 Date: 2019-08-27 08:42 +0200 http://bitbucket.org/pypy/pypy/changeset/f4bf2fbd0c19/ Log:in-progress diff --git a/pypy/module/__pypy__/interp_time.py b/pypy/module/__pypy__/interp_time.py --- a/pypy/module/__pypy__/interp_ti