[pypy-commit] pypy shadowstack-perf-2: Experiment: add -flto to CFLAGS. This breaks asmgcc!

2017-03-04 Thread mjacob
Author: Manuel Jacob Branch: shadowstack-perf-2 Changeset: r90525:7331592bdd2b Date: 2017-03-04 10:29 +0100 http://bitbucket.org/pypy/pypy/changeset/7331592bdd2b/ Log:Experiment: add -flto to CFLAGS. This breaks asmgcc! diff --git a/rpython/translator/platform/linux.py b/rpython/translator/

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

2017-03-04 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90526:c17b3acf5242 Date: 2017-03-04 11:07 +0100 http://bitbucket.org/pypy/pypy/changeset/c17b3acf5242/ Log:Fix test_suboffsets diff --git a/pypy/module/cpyext/test/test_bytesobject.py b/pypy/module/cpyext/test/test_bytesobject.py --- a/pypy/modul

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

2017-03-04 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90527:422601c23f30 Date: 2017-03-04 11:31 +0100 http://bitbucket.org/pypy/pypy/changeset/422601c23f30/ Log:Fix test_releasebuffer diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py --- a/pypy/

[pypy-commit] pypy py3.5: Fix direct app-level test.

2017-03-04 Thread mjacob
Author: Manuel Jacob Branch: py3.5 Changeset: r90528:740e021e095b Date: 2017-03-04 12:03 +0100 http://bitbucket.org/pypy/pypy/changeset/740e021e095b/ Log:Fix direct app-level test. diff --git a/pypy/module/_io/test/test_fileio.py b/pypy/module/_io/test/test_fileio.py --- a/pypy/module/_io/t

[pypy-commit] pypy default: Fix direct app-level test.

2017-03-04 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r90529:bdf68ecd0bac Date: 2017-03-04 12:03 +0100 http://bitbucket.org/pypy/pypy/changeset/bdf68ecd0bac/ Log:Fix direct app-level test. diff --git a/pypy/module/_io/test/test_fileio.py b/pypy/module/_io/test/test_fileio.py --- a/pypy/module/_io/test/t

[pypy-commit] pypy shadowstack-perf-2: (remi, arigo around) fix for a "corner case" of having a startblock

2017-03-04 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf-2 Changeset: r90530:f2ae43e31f49 Date: 2017-03-04 12:35 +0100 http://bitbucket.org/pypy/pypy/changeset/f2ae43e31f49/ Log:(remi, arigo around) fix for a "corner case" of having a startblock that is also reached from the rest of the graph dif

[pypy-commit] pypy nogil-unsafe-2: (arigo, remi) add lock to slowpath of write barrier

2017-03-04 Thread Raemi
Author: Remi Meier Branch: nogil-unsafe-2 Changeset: r90531:27908e5859b8 Date: 2017-03-04 12:59 +0100 http://bitbucket.org/pypy/pypy/changeset/27908e5859b8/ Log:(arigo, remi) add lock to slowpath of write barrier diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.p

[pypy-commit] pypy nogil-unsafe-2: (arigo, remi) add lock to yet another place

2017-03-04 Thread Raemi
Author: Remi Meier Branch: nogil-unsafe-2 Changeset: r90532:79fcf2f97451 Date: 2017-03-04 13:03 +0100 http://bitbucket.org/pypy/pypy/changeset/79fcf2f97451/ Log:(arigo, remi) add lock to yet another place diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py --- a/

[pypy-commit] pypy default: Use wrap_oserror with a just-built OSError here. It will make things easier on py3.5.

2017-03-04 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r90533:734597bfaaec Date: 2017-03-04 12:17 +0100 http://bitbucket.org/pypy/pypy/changeset/734597bfaaec/ Log:Use wrap_oserror with a just-built OSError here. It will make things easier on py3.5. diff --git a/pypy/module/_io/interp_fileio.py b/p

[pypy-commit] pypy default: Reuse rposix.c_read in these two places instead of redefining an almost identical llexternal.

2017-03-04 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r90534:0251b34cb8ee Date: 2017-03-04 13:30 +0100 http://bitbucket.org/pypy/pypy/changeset/0251b34cb8ee/ Log:Reuse rposix.c_read in these two places instead of redefining an almost identical llexternal. diff --git a/pypy/module/_file/readinto.p

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

2017-03-04 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90536:ae2aed8de1b2 Date: 2017-03-04 13:36 +0100 http://bitbucket.org/pypy/pypy/changeset/ae2aed8de1b2/ Log:merge heads diff --git a/pypy/module/_io/test/test_fileio.py b/pypy/module/_io/test/test_fileio.py --- a/pypy/module/_io/test/test_fileio.p

[pypy-commit] pypy py3.5: Add PyUnicode_AsUTF8AndSize, change PyUnicode_AsUTF8 to use it

2017-03-04 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90535:6ba16736df1d Date: 2017-03-04 13:35 +0100 http://bitbucket.org/pypy/pypy/changeset/6ba16736df1d/ Log:Add PyUnicode_AsUTF8AndSize, change PyUnicode_AsUTF8 to use it diff --git a/pypy/module/cpyext/test/test_unicodeobject.py b/pypy/module/cpy

[pypy-commit] pypy nogil-unsafe-2: (remi previously, arigo) Fix: we must not grab the next object's location from the nursery without having the GIL

2017-03-04 Thread arigo
Author: Armin Rigo Branch: nogil-unsafe-2 Changeset: r90537:8efb35415f7d Date: 2017-03-04 17:04 +0100 http://bitbucket.org/pypy/pypy/changeset/8efb35415f7d/ Log:(remi previously, arigo) Fix: we must not grab the next object's location from the nursery without having the GIL diff --gi

[pypy-commit] pypy py3.5: Add PyUnicode_AsUnicodeAndSize()

2017-03-04 Thread rlamy
Author: Ronan Lamy Branch: py3.5 Changeset: r90538:44c53c062fbe Date: 2017-03-04 17:07 +0100 http://bitbucket.org/pypy/pypy/changeset/44c53c062fbe/ Log:Add PyUnicode_AsUnicodeAndSize() diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py --- a/pypy/module/c

[pypy-commit] pypy unicode-utf8: some progress, still errors in rsplit (we need to think!)

2017-03-04 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90539:4c1a6dc397c4 Date: 2017-03-04 19:39 +0100 http://bitbucket.org/pypy/pypy/changeset/4c1a6dc397c4/ Log:some progress, still errors in rsplit (we need to think!) diff --git a/rpython/rlib/rstring.py b/rpython/rlib/rstring.py --- a/rpython/rlib

[pypy-commit] pypy shadowstack-perf-2: Do insert_empty_startblock() earlier to avoid mutating the graph at an

2017-03-04 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf-2 Changeset: r90540:6f2c12b6a329 Date: 2017-03-04 18:37 +0100 http://bitbucket.org/pypy/pypy/changeset/6f2c12b6a329/ Log:Do insert_empty_startblock() earlier to avoid mutating the graph at an unexpected point (and also, do it only if needed)

[pypy-commit] pypy unicode-utf8: fix rsplit

2017-03-04 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90542:e30fd70a9177 Date: 2017-03-04 21:23 +0100 http://bitbucket.org/pypy/pypy/changeset/e30fd70a9177/ Log:fix rsplit diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/unicodeobject.py +

[pypy-commit] pypy unicode-utf8: ljust/rjust

2017-03-04 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90544:8ef843d54f47 Date: 2017-03-04 22:03 +0100 http://bitbucket.org/pypy/pypy/changeset/8ef843d54f47/ Log:ljust/rjust diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/unicodeobject.py

[pypy-commit] pypy unicode-utf8: isupper & islower

2017-03-04 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90543:9406445b45f6 Date: 2017-03-04 21:55 +0100 http://bitbucket.org/pypy/pypy/changeset/9406445b45f6/ Log:isupper & islower diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/unicodeobje

[pypy-commit] pypy shadowstack-perf-2: tweaks for threads

2017-03-04 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf-2 Changeset: r90545:b4fbb27942b9 Date: 2017-03-04 22:47 +0100 http://bitbucket.org/pypy/pypy/changeset/b4fbb27942b9/ Log:tweaks for threads diff --git a/rpython/memory/gctransform/shadowstack.py b/rpython/memory/gctransform/shadowstack.py --- a/rp

[pypy-commit] pypy unicode-utf8: actually use the function I wrote

2017-03-04 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90547:9f602db4b1ce Date: 2017-03-04 22:58 +0100 http://bitbucket.org/pypy/pypy/changeset/9f602db4b1ce/ Log:actually use the function I wrote diff --git a/rpython/rlib/rstring.py b/rpython/rlib/rstring.py --- a/rpython/rlib/rstring.py +++ b/rpytho

[pypy-commit] pypy unicode-utf8: kill pdb

2017-03-04 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90548:1239b2e8d564 Date: 2017-03-04 22:59 +0100 http://bitbucket.org/pypy/pypy/changeset/1239b2e8d564/ Log:kill pdb diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/unicodeobject.py +++

[pypy-commit] pypy unicode-utf8: implement isspace as a regex

2017-03-04 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90546:e0e41208baf4 Date: 2017-03-04 22:55 +0100 http://bitbucket.org/pypy/pypy/changeset/e0e41208baf4/ Log:implement isspace as a regex diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/

[pypy-commit] pypy unicode-utf8: implement strip - fails on narrow unicode builds

2017-03-04 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r90549:bd07f3fee9c7 Date: 2017-03-04 23:57 +0100 http://bitbucket.org/pypy/pypy/changeset/bd07f3fee9c7/ Log:implement strip - fails on narrow unicode builds diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py ---

[pypy-commit] pypy default: Fix test (mostly, but I'm not sure I understand why it doesn't seem to

2017-03-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r90550:1a55bff39061 Date: 2017-03-05 08:44 +0100 http://bitbucket.org/pypy/pypy/changeset/1a55bff39061/ Log:Fix test (mostly, but I'm not sure I understand why it doesn't seem to crash in a full pypy) diff --git a/rpython/jit/metainterp/optimize

[pypy-commit] pypy shadowstack-perf-2: hg merge default

2017-03-04 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf-2 Changeset: r90551:d128eb23ffe6 Date: 2017-03-05 07:45 + http://bitbucket.org/pypy/pypy/changeset/d128eb23ffe6/ Log:hg merge default diff --git a/rpython/jit/metainterp/optimizeopt/info.py b/rpython/jit/metainterp/optimizeopt/info.py --- a/rp

[pypy-commit] pypy shadowstack-perf-2: minimal support in llinterp

2017-03-04 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf-2 Changeset: r90552:05ad3cfbbde7 Date: 2017-03-05 08:56 +0100 http://bitbucket.org/pypy/pypy/changeset/05ad3cfbbde7/ Log:minimal support in llinterp diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py --- a/rpython/rtyper/llinterp.