[pypy-commit] stmgc c8-gil-like: Really remove stm_become_globally_unique_transaction and adapt

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1810:246e3b318782 Date: 2015-06-12 09:55 +0200 http://bitbucket.org/pypy/stmgc/changeset/246e3b318782/ Log:Really remove stm_become_globally_unique_transaction and adapt demo_random to test for it. Rare crashes at the moment... diff

[pypy-commit] stmgc c8-gil-like: fix

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1811:4a03c8a56068 Date: 2015-06-12 10:48 +0200 http://bitbucket.org/pypy/stmgc/changeset/4a03c8a56068/ Log:fix diff --git a/c8/demo/demo_random.c b/c8/demo/demo_random.c --- a/c8/demo/demo_random.c +++ b/c8/demo/demo_random.c @@ -9,6 +9,7 @@

[pypy-commit] pypy dtypes-compatability: fix z_translation, test_compile (arigato)

2015-06-12 Thread mattip
Author: mattip Branch: dtypes-compatability Changeset: r78039:781c31ed6f8d Date: 2015-06-12 11:48 +0300 http://bitbucket.org/pypy/pypy/changeset/781c31ed6f8d/ Log:fix z_translation, test_compile (arigato) diff --git a/pypy/module/micronumpy/compile.py b/pypy/module/micronumpy/compile.py ---

[pypy-commit] stmgc c8-gil-like: Port demo_random2. Apparently fix things by removing this hack. I'm

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1812:759833fd3bcc Date: 2015-06-12 11:39 +0200 http://bitbucket.org/pypy/stmgc/changeset/759833fd3bcc/ Log:Port demo_random2. Apparently fix things by removing this hack. I'm waiting until the next time I see it going into an infinite

[pypy-commit] stmgc c8-gil-like: Next crash: if I manually add usleep(100) here, boom

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1813:dff74dc51438 Date: 2015-06-12 12:15 +0200 http://bitbucket.org/pypy/stmgc/changeset/dff74dc51438/ Log:Next crash: if I manually add usleep(100) here, boom diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.

[pypy-commit] pypy optresult: check only for gc stuff

2015-06-12 Thread fijal
Author: Maciej Fijalkowski Branch: optresult Changeset: r78040:afd28a605eaf Date: 2015-06-12 13:25 +0200 http://bitbucket.org/pypy/pypy/changeset/afd28a605eaf/ Log:check only for gc stuff diff --git a/rpython/jit/backend/llsupport/llmodel.py b/rpython/jit/backend/llsupport/llmodel.py --- a/

[pypy-commit] stmgc c8-gil-like: improve

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1814:adcb141e20ad Date: 2015-06-12 12:54 +0200 http://bitbucket.org/pypy/stmgc/changeset/adcb141e20ad/ Log:improve diff --git a/c7/gdb/gdb_stm.py b/c7/gdb/gdb_stm.py --- a/c7/gdb/gdb_stm.py +++ b/c7/gdb/gdb_stm.py @@ -74,11 +74,13 @@ def th

[pypy-commit] stmgc c8-gil-like: Tentative fix: remove the two places setting 'TS_NONE' without the

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1815:48f9b949581f Date: 2015-06-12 13:39 +0200 http://bitbucket.org/pypy/stmgc/changeset/48f9b949581f/ Log:Tentative fix: remove the two places setting 'TS_NONE' without the mutex_lock, which creates race conditions. Move the

[pypy-commit] stmgc c8-gil-like: Add the logic here, but commented out for now

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1816:f97d3ff65683 Date: 2015-06-12 14:07 +0200 http://bitbucket.org/pypy/stmgc/changeset/f97d3ff65683/ Log:Add the logic here, but commented out for now diff --git a/c8/stm/gcpage.c b/c8/stm/gcpage.c --- a/c8/stm/gcpage.c +++ b/c8/stm/gcpage

[pypy-commit] stmgc c8-gil-like: Back out f97d3ff65683: we're in a synchronize_all_threads() section,

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1817:c867506dce0a Date: 2015-06-12 14:28 +0200 http://bitbucket.org/pypy/stmgc/changeset/c867506dce0a/ Log:Back out f97d3ff65683: we're in a synchronize_all_threads() section, which means the detached inevitable transaction was forcef

[pypy-commit] pypy optresult: strgetitem handles self.make_equal_to already

2015-06-12 Thread fijal
Author: Maciej Fijalkowski Branch: optresult Changeset: r78041:aad6cb4f869e Date: 2015-06-12 14:47 +0200 http://bitbucket.org/pypy/pypy/changeset/aad6cb4f869e/ Log:strgetitem handles self.make_equal_to already diff --git a/rpython/jit/metainterp/optimizeopt/vstring.py b/rpython/jit/metainte

[pypy-commit] stmgc c8-gil-like: Fix test_extra

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1818:db81f0821c99 Date: 2015-06-12 15:52 +0200 http://bitbucket.org/pypy/stmgc/changeset/db81f0821c99/ Log:Fix test_extra diff --git a/c8/test/support.py b/c8/test/support.py --- a/c8/test/support.py +++ b/c8/test/support.py @@ -85,7 +85,7 @

[pypy-commit] pypy stdlib-2.7.10: Merge vendor/stdlib: 2.7.10

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.10 Changeset: r78043:b1d5575eac56 Date: 2015-06-12 15:58 +0200 http://bitbucket.org/pypy/pypy/changeset/b1d5575eac56/ Log:Merge vendor/stdlib: 2.7.10 diff too long, truncating to 2000 out of 10062 lines diff --git a/lib-python/2.7/Cookie.py b/

[pypy-commit] pypy vendor/stdlib: Upgrade 2.7 stdlib to 2.7.10

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: vendor/stdlib Changeset: r78042:a3b827ca23fa Date: 2015-06-12 13:58 +0200 http://bitbucket.org/pypy/pypy/changeset/a3b827ca23fa/ Log:Upgrade 2.7 stdlib to 2.7.10 diff too long, truncating to 2000 out of 10083 lines diff --git a/lib-python/2.7/Cookie.py b

[pypy-commit] stmgc c8-gil-like: Save and restore errno at the critical point

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1819:bf0dfe206de5 Date: 2015-06-12 16:23 +0200 http://bitbucket.org/pypy/stmgc/changeset/bf0dfe206de5/ Log:Save and restore errno at the critical point diff --git a/c8/stm/detach.c b/c8/stm/detach.c --- a/c8/stm/detach.c +++ b/c8/stm/detach.

[pypy-commit] pypy run-create_cffi_imports: start to add a build task to create cffi_imports

2015-06-12 Thread mattip
Author: mattip Branch: run-create_cffi_imports Changeset: r78045:ef61b9c1dbf1 Date: 2015-06-12 17:27 +0300 http://bitbucket.org/pypy/pypy/changeset/ef61b9c1dbf1/ Log:start to add a build task to create cffi_imports diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandal

[pypy-commit] pypy dtypes-compatability: add tests for metadata, dtype-from-dict

2015-06-12 Thread mattip
Author: mattip Branch: dtypes-compatability Changeset: r78044:ff5c0d392b3c Date: 2015-06-12 13:53 +0300 http://bitbucket.org/pypy/pypy/changeset/ff5c0d392b3c/ Log:add tests for metadata, dtype-from-dict diff --git a/pypy/module/micronumpy/test/test_dtypes.py b/pypy/module/micronumpy/test/te

[pypy-commit] pypy stdlib-2.7.10: Fix "import ssl"

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.10 Changeset: r78046:87dfaaf41b2a Date: 2015-06-12 17:44 +0200 http://bitbucket.org/pypy/pypy/changeset/87dfaaf41b2a/ Log:Fix "import ssl" diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py --- a/pypy/module/_ssl/inter

[pypy-commit] stmgc c8-gil-like: Do a "full" implementation of stm_should_break_transaction(), as opposed

2015-06-12 Thread arigo
Author: Armin Rigo Branch: c8-gil-like Changeset: r1820:5af967809206 Date: 2015-06-12 18:18 +0200 http://bitbucket.org/pypy/stmgc/changeset/5af967809206/ Log:Do a "full" implementation of stm_should_break_transaction(), as opposed to the one in pypy, which didn't account for minor

[pypy-commit] pypy stdlib-2.7.10: Add support for "alpn" in SSL.

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.10 Changeset: r78047:ae7a5e9438ee Date: 2015-06-12 18:33 +0200 http://bitbucket.org/pypy/pypy/changeset/ae7a5e9438ee/ Log:Add support for "alpn" in SSL. Not tested at all: my machine does not have the correct version. diff --git a/pypy

[pypy-commit] pypy stmgc-c8-gil-like: Yay, the first ztranslation test passes

2015-06-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-gil-like Changeset: r78049:1fd7822491a3 Date: 2015-06-12 19:00 +0200 http://bitbucket.org/pypy/pypy/changeset/1fd7822491a3/ Log:Yay, the first ztranslation test passes diff --git a/rpython/rlib/rstm.py b/rpython/rlib/rstm.py --- a/rpython/rlib/rstm.py +++

[pypy-commit] pypy stmgc-c8-gil-like: import stmgc, branch c8-gil-like

2015-06-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-gil-like Changeset: r78048:ffc83930d682 Date: 2015-06-12 16:53 +0200 http://bitbucket.org/pypy/pypy/changeset/ffc83930d682/ Log:import stmgc, branch c8-gil-like diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision

[pypy-commit] pypy optresult: Add an assert

2015-06-12 Thread arigo
Author: Armin Rigo Branch: optresult Changeset: r78050:85c11181735e Date: 2015-06-12 10:28 +0200 http://bitbucket.org/pypy/pypy/changeset/85c11181735e/ Log:Add an assert diff --git a/rpython/jit/backend/llsupport/rewrite.py b/rpython/jit/backend/llsupport/rewrite.py --- a/rpython/jit/backen

[pypy-commit] pypy optresult: merge heads

2015-06-12 Thread arigo
Author: Armin Rigo Branch: optresult Changeset: r78051:c751966834b2 Date: 2015-06-12 19:01 +0200 http://bitbucket.org/pypy/pypy/changeset/c751966834b2/ Log:merge heads diff --git a/rpython/jit/backend/llsupport/rewrite.py b/rpython/jit/backend/llsupport/rewrite.py --- a/rpython/jit/backend/

[pypy-commit] pypy stmgc-c8-gil-like: fix test

2015-06-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-gil-like Changeset: r78052:c16c27a09a61 Date: 2015-06-12 19:02 +0200 http://bitbucket.org/pypy/pypy/changeset/c16c27a09a61/ Log:fix test diff --git a/rpython/translator/stm/test/test_ztranslated.py b/rpython/translator/stm/test/test_ztranslated.py --- a/r

[pypy-commit] pypy stmgc-c8-gil-like: Fix tests

2015-06-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-gil-like Changeset: r78053:b64a78fbfd32 Date: 2015-06-12 19:12 +0200 http://bitbucket.org/pypy/pypy/changeset/b64a78fbfd32/ Log:Fix tests diff --git a/rpython/translator/stm/funcgen.py b/rpython/translator/stm/funcgen.py --- a/rpython/translator/stm/funcg

[pypy-commit] pypy default: hg merge stdlib-2.7.10

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78055:2198166ce926 Date: 2015-06-12 19:14 +0200 http://bitbucket.org/pypy/pypy/changeset/2198166ce926/ Log:hg merge stdlib-2.7.10 diff too long, truncating to 2000 out of 10216 lines diff --git a/lib-python/2.7/Cookie.py b/lib-python/2.7/Coo

[pypy-commit] pypy stdlib-2.7.10: Close branch about to be merged

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: stdlib-2.7.10 Changeset: r78054:358cf80306cd Date: 2015-06-12 19:13 +0200 http://bitbucket.org/pypy/pypy/changeset/358cf80306cd/ Log:Close branch about to be merged ___ pypy-commit mailing list pypy-commit@pytho

[pypy-commit] pypy default: Document merged branch

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78056:f6c8f214fa02 Date: 2015-06-12 19:15 +0200 http://bitbucket.org/pypy/pypy/changeset/f6c8f214fa02/ Log:Document merged branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy

[pypy-commit] cffi default: on pypy, the _cffi_backend module doesn't have a __file__ at all

2015-06-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r2184:7cd6732be4e5 Date: 2015-06-12 19:26 +0200 http://bitbucket.org/cffi/cffi/changeset/7cd6732be4e5/ Log:on pypy, the _cffi_backend module doesn't have a __file__ at all diff --git a/testing/cffi0/test_zintegration.py b/testing/cffi0/test_zintegratio

[pypy-commit] pypy default: import cffi/7cd6732be4e5

2015-06-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r78057:d2d8c9799524 Date: 2015-06-12 19:28 +0200 http://bitbucket.org/pypy/pypy/changeset/d2d8c9799524/ Log:import cffi/7cd6732be4e5 diff --git a/lib_pypy/cffi/cparser.py b/lib_pypy/cffi/cparser.py --- a/lib_pypy/cffi/cparser.py +++ b/lib_pypy/cffi/cpar

[pypy-commit] pypy default: Update version numbers as indicated in doc/how-to-release.rst

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78058:a8ce50056e5c Date: 2015-06-12 19:34 +0200 http://bitbucket.org/pypy/pypy/changeset/a8ce50056e5c/ Log:Update version numbers as indicated in doc/how-to-release.rst diff --git a/pypy/module/cpyext/include/patchlevel.h b/pypy/module/cpyex

[pypy-commit] pypy default: Add missing test, the test suite should start now.

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78059:b216b7b77272 Date: 2015-06-12 22:57 +0200 http://bitbucket.org/pypy/pypy/changeset/b216b7b77272/ Log:Add missing test, the test suite should start now. diff --git a/lib-python/conftest.py b/lib-python/conftest.py --- a/lib-python/confte

[pypy-commit] pypy default: Fix some segfaults after a file is detached.

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78060:cef7d7a0598d Date: 2015-06-12 23:43 +0200 http://bitbucket.org/pypy/pypy/changeset/cef7d7a0598d/ Log:Fix some segfaults after a file is detached. diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py

[pypy-commit] pypy default: Avoid a crash when TextIOWrapper is not fully initialized

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78061:3f6c2b6ab6d5 Date: 2015-06-12 23:56 +0200 http://bitbucket.org/pypy/pypy/changeset/3f6c2b6ab6d5/ Log:Avoid a crash when TextIOWrapper is not fully initialized diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio

[pypy-commit] pypy numpy-docstrings: Start implementing np.add_docstring

2015-06-12 Thread rlamy
Author: Ronan Lamy Branch: numpy-docstrings Changeset: r78062:caa48835941b Date: 2015-06-12 17:48 +0100 http://bitbucket.org/pypy/pypy/changeset/caa48835941b/ Log:Start implementing np.add_docstring diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__init__.py --- a/p

[pypy-commit] pypy numpy-docstrings: Allow adding a docstring to builtin types

2015-06-12 Thread rlamy
Author: Ronan Lamy Branch: numpy-docstrings Changeset: r78063:b16ddaa55e90 Date: 2015-06-12 18:14 +0100 http://bitbucket.org/pypy/pypy/changeset/b16ddaa55e90/ Log:Allow adding a docstring to builtin types (breaks test_ztranslation, but real translation works) diff --git a/pypy/module

[pypy-commit] pypy default: Add TextIOBase.newlines=None, requested in test_idle

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78066:1d09fc0a175a Date: 2015-06-13 00:20 +0200 http://bitbucket.org/pypy/pypy/changeset/1d09fc0a175a/ Log:Add TextIOBase.newlines=None, requested in test_idle diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py -

[pypy-commit] pypy default: Fix imports in test_bz2

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78064:77cff5abb0b0 Date: 2015-06-13 00:15 +0200 http://bitbucket.org/pypy/pypy/changeset/77cff5abb0b0/ Log:Fix imports in test_bz2 diff --git a/lib-python/2.7/test/test_bz2.py b/lib-python/2.7/test/test_bz2.py --- a/lib-python/2.7/test/test_b

[pypy-commit] pypy default: Fix renamed import

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78071:468017773f37 Date: 2015-06-13 01:46 +0200 http://bitbucket.org/pypy/pypy/changeset/468017773f37/ Log:Fix renamed import diff --git a/lib-python/2.7/test/test_threading_local.py b/lib-python/2.7/test/test_threading_local.py --- a/lib-py

[pypy-commit] pypy default: Raises ValueError on os.major(-1)

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78068:1767d7627fba Date: 2015-06-13 00:28 +0200 http://bitbucket.org/pypy/pypy/changeset/1767d7627fba/ Log:Raises ValueError on os.major(-1) diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --- a/pypy/module

[pypy-commit] pypy default: Blindly copy a CPython change:

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78070:044b6da79c49 Date: 2015-06-13 01:45 +0200 http://bitbucket.org/pypy/pypy/changeset/044b6da79c49/ Log:Blindly copy a CPython change: Issue #23048: Fix jumping out of an infinite while loop in the pdb. it crashed the test

[pypy-commit] pypy default: It is TypeError.

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78065:48213fa62b6d Date: 2015-06-13 00:16 +0200 http://bitbucket.org/pypy/pypy/changeset/48213fa62b6d/ Log:It is TypeError. diff --git a/lib-python/2.7/test/test_fileio.py b/lib-python/2.7/test/test_fileio.py --- a/lib-python/2.7/test/test_f

[pypy-commit] pypy default: Add old buffer interface to memoryview, this is needed by the struct module.

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78069:8e323987d093 Date: 2015-06-13 00:57 +0200 http://bitbucket.org/pypy/pypy/changeset/8e323987d093/ Log:Add old buffer interface to memoryview, this is needed by the struct module. diff --git a/pypy/module/struct/test/test_struct.p

[pypy-commit] pypy default: Another method which was not exposed.

2015-06-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r78067:d95e53d9540e Date: 2015-06-13 00:21 +0200 http://bitbucket.org/pypy/pypy/changeset/d95e53d9540e/ Log:Another method which was not exposed. diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/modul

[pypy-commit] pypy numpy-docstrings: Handle methods in add_docstring()

2015-06-12 Thread rlamy
Author: Ronan Lamy Branch: numpy-docstrings Changeset: r78072:5b3d5ccedb57 Date: 2015-06-13 01:25 +0100 http://bitbucket.org/pypy/pypy/changeset/5b3d5ccedb57/ Log:Handle methods in add_docstring() diff --git a/pypy/module/micronumpy/support.py b/pypy/module/micronumpy/support.py --- a/pypy/

[pypy-commit] pypy numpy-docstrings: Create set_docstring() helper, move add_docstring() implementation to app-level and clean up

2015-06-12 Thread rlamy
Author: Ronan Lamy Branch: numpy-docstrings Changeset: r78074:116f25d26306 Date: 2015-06-13 02:15 +0100 http://bitbucket.org/pypy/pypy/changeset/116f25d26306/ Log:Create set_docstring() helper, move add_docstring() implementation to app-level and clean up diff --git a/pypy/module/mic

[pypy-commit] pypy numpy-docstrings: Handle properties in add_docstring()

2015-06-12 Thread rlamy
Author: Ronan Lamy Branch: numpy-docstrings Changeset: r78073:8b8ecf5fd1ad Date: 2015-06-13 01:43 +0100 http://bitbucket.org/pypy/pypy/changeset/8b8ecf5fd1ad/ Log:Handle properties in add_docstring() diff --git a/pypy/module/micronumpy/support.py b/pypy/module/micronumpy/support.py --- a/py