[pypy-commit] pypy py3.5: Add a fake getwindowsversion()._platform_version, so that platform.win32_ver() can return something.

2017-05-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91175:09eee048800a Date: 2017-05-03 08:20 +0200 http://bitbucket.org/pypy/pypy/changeset/09eee048800a/ Log:Add a fake getwindowsversion()._platform_version, so that platform.win32_ver() can return something. (it will always be the

[pypy-commit] pypy py3.5: oops, SetErrorMode is in kernel32.dll

2017-05-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91174:c170bb968e18 Date: 2017-05-02 23:44 +0200 http://bitbucket.org/pypy/pypy/changeset/c170bb968e18/ Log:oops, SetErrorMode is in kernel32.dll diff --git a/lib_pypy/msvcrt.py b/lib_pypy/msvcrt.py --- a/lib_pypy/msvcrt.py +++ b/lib_pypy

[pypy-commit] pypy py3.5: Expose msvcrt.SetErrorMode

2017-05-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91173:b2b8897fa2d1 Date: 2017-05-02 22:06 +0200 http://bitbucket.org/pypy/pypy/changeset/b2b8897fa2d1/ Log:Expose msvcrt.SetErrorMode diff --git a/lib_pypy/msvcrt.py b/lib_pypy/msvcrt.py --- a/lib_pypy/msvcrt.py +++ b/lib_pypy/msvcrt.py

[pypy-commit] pypy PyBuffer-backport: Backport memoryview changes

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer-backport Changeset: r91172:fea54844618f Date: 2017-05-02 19:45 +0100 http://bitbucket.org/pypy/pypy/changeset/fea54844618f/ Log:Backport memoryview changes diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py new file mode 100644 --- /dev/n

[pypy-commit] pypy PyBuffer-backport: Backport rpython.rlib.buffer changes from py3.5

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: PyBuffer-backport Changeset: r91171:4ec9314365c8 Date: 2017-05-02 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/4ec9314365c8/ Log:Backport rpython.rlib.buffer changes from py3.5 diff --git a/rpython/rlib/buffer.py b/rpython/rlib/buffer.py --- a/rpython/rlib/

[pypy-commit] pypy default: Update includes README to mention new generated files, and the cpyext parse directory.

2017-05-02 Thread stefanor
Author: Stefano Rivera Branch: Changeset: r91170:54dc01ff643b Date: 2017-05-02 11:00 -0700 http://bitbucket.org/pypy/pypy/changeset/54dc01ff643b/ Log:Update includes README to mention new generated files, and the cpyext parse directory. Brought to attention by issue #2550.

[pypy-commit] pypy default: Backport rposix changes from py3.5 branch

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r91169:02051354da6b Date: 2017-05-02 17:47 +0100 http://bitbucket.org/pypy/pypy/changeset/02051354da6b/ Log:Backport rposix changes from py3.5 branch diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython

[pypy-commit] pypy default: Backport changes from py3.5 branch

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r91168:0c21123991d2 Date: 2017-05-02 17:15 +0100 http://bitbucket.org/pypy/pypy/changeset/0c21123991d2/ Log:Backport changes from py3.5 branch diff --git a/rpython/rlib/rvmprof/src/rvmprof.h b/rpython/rlib/rvmprof/src/rvmprof.h --- a/rpython/rlib/rvmpr

[pypy-commit] pypy default: blindly change this from -1 to an arbitrary large number on 32 bit systems

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r91167:5f9e5afded55 Date: 2017-03-21 22:22 +0200 http://bitbucket.org/pypy/pypy/changeset/5f9e5afded55/ Log:blindly change this from -1 to an arbitrary large number on 32 bit systems (grafted from eecdab8e95b5c78071de41b3a5b0007c5d994f4b) diff -

[pypy-commit] pypy default: Attempt to import interp_scandir on Windows

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r91166:5d9621822874 Date: 2017-04-01 18:42 +0200 http://bitbucket.org/pypy/pypy/changeset/5d9621822874/ Log:Attempt to import interp_scandir on Windows (grafted from ba2d0d7ea48e2dfafed9c17d9a125a46664247bb) diff --git a/rpython/rlib/rposix_scan

[pypy-commit] pypy default: Popen.communicate() returns bytes if no encoding was specified.

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r91165:5218685456b2 Date: 2017-04-02 17:09 +0200 http://bitbucket.org/pypy/pypy/changeset/5218685456b2/ Log:Popen.communicate() returns bytes if no encoding was specified. (grafted from 1fb74e1664446090361a9fe4ec11a67740e13d2d) diff --git a/rpyt

[pypy-commit] pypy default: Attempt to fix build_cffi_imports on Windows: args should be passed as unicode strings.

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r91164:fc8f35c963af Date: 2017-04-02 11:57 +0200 http://bitbucket.org/pypy/pypy/changeset/fc8f35c963af/ Log:Attempt to fix build_cffi_imports on Windows: args should be passed as unicode strings. (grafted from 541dbb06046f547b72418bd69666

[pypy-commit] pypy default: Add support for rejecting lone surrogates in utf16 and utf32 decoders.

2017-05-02 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r91163:86c13077b36b Date: 2017-04-19 00:53 +0200 http://bitbucket.org/pypy/pypy/changeset/86c13077b36b/ Log:Add support for rejecting lone surrogates in utf16 and utf32 decoders. (grafted from 7ce52a9f8d1f49eb4986b9bba8c8561060d49346) diff --git

[pypy-commit] stmgc c8-adaptive-trx-length: Merge all single thread mode enum values for consistency with analysis script

2017-05-02 Thread tobweber
Author: Tobias Weber Branch: c8-adaptive-trx-length Changeset: r2050:784040daca87 Date: 2017-04-29 16:31 +0200 http://bitbucket.org/pypy/stmgc/changeset/784040daca87/ Log:Merge all single thread mode enum values for consistency with analysis script diff --git a/c8/stmgc.h b/c8/stmgc.

[pypy-commit] stmgc c8-overheads-instrumentation: Merge fix for name clash in macro expansion

2017-05-02 Thread tobweber
Author: Tobias Weber Branch: c8-overheads-instrumentation Changeset: r2052:4a93488e1444 Date: 2017-04-29 16:34 +0200 http://bitbucket.org/pypy/stmgc/changeset/4a93488e1444/ Log:Merge fix for name clash in macro expansion diff --git a/c8/stm/timing.h b/c8/stm/timing.h --- a/c8/stm/timing.h ++

[pypy-commit] stmgc c8-adaptive-trx-length: Implement exponential build up and back off in transaction length

2017-05-02 Thread tobweber
Author: Tobias Weber Branch: c8-adaptive-trx-length Changeset: r2051:3ffb90144a7f Date: 2017-05-01 18:08 +0200 http://bitbucket.org/pypy/stmgc/changeset/3ffb90144a7f/ Log:Implement exponential build up and back off in transaction length diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm

[pypy-commit] stmgc c8-adaptive-trx-length: Fix name clash in macro expansion

2017-05-02 Thread tobweber
Author: Tobias Weber Branch: c8-adaptive-trx-length Changeset: r2048:78f3434d68d5 Date: 2017-04-29 16:24 +0200 http://bitbucket.org/pypy/stmgc/changeset/78f3434d68d5/ Log:Fix name clash in macro expansion diff --git a/c8/stm/timing.h b/c8/stm/timing.h --- a/c8/stm/timing.h +++ b/c8/stm/timin

[pypy-commit] stmgc c8-adaptive-trx-length: Make sequential transactions inevitable

2017-05-02 Thread tobweber
Author: Tobias Weber Branch: c8-adaptive-trx-length Changeset: r2047:ffbfa75ef055 Date: 2017-04-29 13:56 +0200 http://bitbucket.org/pypy/stmgc/changeset/ffbfa75ef055/ Log:Make sequential transactions inevitable diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.

[pypy-commit] stmgc c8-adaptive-trx-length: Implement logging of adaptive mode

2017-05-02 Thread tobweber
Author: Tobias Weber Branch: c8-adaptive-trx-length Changeset: r2049:68dab8f6465e Date: 2017-04-29 16:25 +0200 http://bitbucket.org/pypy/stmgc/changeset/68dab8f6465e/ Log:Implement logging of adaptive mode diff --git a/c8/stm/nursery.c b/c8/stm/nursery.c --- a/c8/stm/nursery.c +++ b/c8/stm/n

[pypy-commit] stmgc c8-adaptive-trx-length: Merge number of segments in use function

2017-05-02 Thread tobweber
Author: Tobias Weber Branch: c8-adaptive-trx-length Changeset: r2046:439c2a69589d Date: 2017-04-29 12:02 +0200 http://bitbucket.org/pypy/stmgc/changeset/439c2a69589d/ Log:Merge number of segments in use function diff --git a/c8/stm/sync.c b/c8/stm/sync.c --- a/c8/stm/sync.c +++ b/c8/stm/sync