[pypy-commit] pypy default: Improve the test, which fails on "pypy -A": try repeatedly to get a

2014-07-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r72325:28a1ebabc3e4 Date: 2014-07-03 11:40 +0200 http://bitbucket.org/pypy/pypy/changeset/28a1ebabc3e4/ Log:Improve the test, which fails on "pypy -A": try repeatedly to get a small array, fill it with garbage, and then free it. It's likely we

[pypy-commit] lang-smalltalk stmgc-c7: Added OSLock class to access rthread.lock and corresponding primitives.

2014-07-03 Thread Patrick Rein
Author: Patrick Rein Branch: stmgc-c7 Changeset: r851:3f97fdcac997 Date: 2014-07-03 15:26 +0200 http://bitbucket.org/pypy/lang-smalltalk/changeset/3f97fdcac997/ Log:Added OSLock class to access rthread.lock and corresponding primitives. diff --git a/images/Squeak4.5-12568.changes b/i

[pypy-commit] pypy scalar-operations: avoid converting scalars to arrays when calling unary ufuncs

2014-07-03 Thread rlamy
Author: Ronan Lamy Branch: scalar-operations Changeset: r72326:e32c6b0eff6c Date: 2014-07-03 15:31 +0100 http://bitbucket.org/pypy/pypy/changeset/e32c6b0eff6c/ Log:avoid converting scalars to arrays when calling unary ufuncs diff --git a/pypy/module/micronumpy/ufuncs.py b/pypy/module/micronu

[pypy-commit] pypy scalar-operations: Re-enable important test

2014-07-03 Thread rlamy
Author: Ronan Lamy Branch: scalar-operations Changeset: r72328:210fb8550c7c Date: 2014-07-03 15:51 +0100 http://bitbucket.org/pypy/pypy/changeset/210fb8550c7c/ Log:Re-enable important test diff --git a/pypy/module/pypyjit/test_pypy_c/test_micronumpy.py b/pypy/module/pypyjit/test_pypy_c/test

[pypy-commit] pypy default: Translation fixes

2014-07-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r72333:bc07df429f7b Date: 2014-07-03 18:20 +0200 http://bitbucket.org/pypy/pypy/changeset/bc07df429f7b/ Log:Translation fixes diff --git a/pypy/module/pypyjit/policy.py b/pypy/module/pypyjit/policy.py --- a/pypy/module/pypyjit/policy.py +++ b/pypy/modul

[pypy-commit] pypy default: Tweak to dict.update().

2014-07-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r72329:b5a2e5eb59dc Date: 2014-07-03 12:36 +0200 http://bitbucket.org/pypy/pypy/changeset/b5a2e5eb59dc/ Log:Tweak to dict.update(). diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py --- a/pypy/objspace/std/dictmul

[pypy-commit] pypy stmgc-c7: dummy merge, abandon 2aef0e942480

2014-07-03 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r72334:d0483f8d8fcd Date: 2014-07-03 18:23 +0200 http://bitbucket.org/pypy/pypy/changeset/d0483f8d8fcd/ Log:dummy merge, abandon 2aef0e942480 ___ pypy-commit mailing list [email protected] https:/

[pypy-commit] pypy stmgc-c7: Import stm.rst from trunk again. (This checkin is also here to

2014-07-03 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r72332:c65fdedbe74a Date: 2014-07-03 18:17 +0200 http://bitbucket.org/pypy/pypy/changeset/c65fdedbe74a/ Log:Import stm.rst from trunk again. (This checkin is also here to mark the current head of the stmgc-c7 branch.) diff --git a/pypy/d

[pypy-commit] pypy default: More attempts at translation fixes

2014-07-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r72335:d4f1606fbfe7 Date: 2014-07-03 20:02 +0200 http://bitbucket.org/pypy/pypy/changeset/d4f1606fbfe7/ Log:More attempts at translation fixes diff --git a/pypy/module/pypyjit/interp_resop.py b/pypy/module/pypyjit/interp_resop.py --- a/pypy/module/pypy

[pypy-commit] pypy default: For dict.update(), pre-scale the dictionary from RPython code in

2014-07-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r72330:0a347de43469 Date: 2014-07-03 17:52 +0200 http://bitbucket.org/pypy/pypy/changeset/0a347de43469/ Log:For dict.update(), pre-scale the dictionary from RPython code in dictmultiobject.py. diff --git a/pypy/objspace/std/dictmultiobject.py b

[pypy-commit] pypy stmgc-c7: Abandon the merge: needs more work to fix e.g. the threadlocalref

2014-07-03 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r72331:2aef0e942480 Date: 2014-07-03 18:16 +0200 http://bitbucket.org/pypy/pypy/changeset/2aef0e942480/ Log:Abandon the merge: needs more work to fix e.g. the threadlocalref and I don't want to do it right now :-/ ___

[pypy-commit] pypy promote-unicode: Introduce promote_unicode().

2014-07-03 Thread Corbin Simpson
Author: Corbin Simpson Branch: promote-unicode Changeset: r72336:3489a054a745 Date: 2014-07-03 11:35 -0700 http://bitbucket.org/pypy/pypy/changeset/3489a054a745/ Log:Introduce promote_unicode(). This is a companion to promote_string() which promotes Unicode strings by value.

[pypy-commit] pypy gc_no_cleanup_nursery: passed the backend test

2014-07-03 Thread wenzhuman
Author: wenzhuman Branch: gc_no_cleanup_nursery Changeset: r72338:d3b83138e0d7 Date: 2014-07-03 17:03 + http://bitbucket.org/pypy/pypy/changeset/d3b83138e0d7/ Log:passed the backend test diff --git a/rpython/jit/backend/llsupport/test/test_gc.py b/rpython/jit/backend/llsupport/test/test

[pypy-commit] pypy gc_no_cleanup_nursery: simplify the malloc method logic

2014-07-03 Thread wenzhuman
Author: wenzhuman Branch: gc_no_cleanup_nursery Changeset: r72337:6dd33f47d74f Date: 2014-07-03 12:48 + http://bitbucket.org/pypy/pypy/changeset/6dd33f47d74f/ Log:simplify the malloc method logic diff --git a/rpython/memory/gc/base.py b/rpython/memory/gc/base.py --- a/rpython/memory/gc/b

[pypy-commit] pypy py3.3: mmap.error is OSError

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72342:4deadf46db89 Date: 2014-06-22 20:41 +0200 http://bitbucket.org/pypy/pypy/changeset/4deadf46db89/ Log:mmap.error is OSError diff --git a/pypy/module/mmap/__init__.py b/pypy/module/mmap/__init__.py --- a/pypy/module/mmap/__init__.py

[pypy-commit] pypy py3.3: Memoryview objects are now hashable.

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72341:b8bb27a1905f Date: 2014-06-22 20:34 +0200 http://bitbucket.org/pypy/pypy/changeset/b8bb27a1905f/ Log:Memoryview objects are now hashable. diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py --- a/pyp

[pypy-commit] pypy py3.3: Implement "yield from" opcode

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72339:02025d9b1f7d Date: 2014-06-22 19:08 +0200 http://bitbucket.org/pypy/pypy/changeset/02025d9b1f7d/ Log:Implement "yield from" opcode diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astcompiler/codegen.py ---

[pypy-commit] pypy py3.3: Fix for cpython Issue #17983

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72349:37095df3c8ad Date: 2014-07-03 23:51 +0200 http://bitbucket.org/pypy/pypy/changeset/37095df3c8ad/ Log:Fix for cpython Issue #17983 diff --git a/pypy/interpreter/astcompiler/symtable.py b/pypy/interpreter/astcompiler/symtable.py ---

[pypy-commit] pypy py3.3: Fix some cpyext tests.

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72345:a53f63e78743 Date: 2014-06-23 14:11 +0200 http://bitbucket.org/pypy/pypy/changeset/a53f63e78743/ Log:Fix some cpyext tests. diff --git a/pypy/module/_frozen_importlib/__init__.py b/pypy/module/_frozen_importlib/__init__.py --- a/p

[pypy-commit] pypy py3.3: Make memoryview objects weakrefable

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72340:b82a4b6b39d3 Date: 2014-06-22 20:18 +0200 http://bitbucket.org/pypy/pypy/changeset/b82a4b6b39d3/ Log:Make memoryview objects weakrefable diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py --- a/pypy

[pypy-commit] pypy py3.3: BlockingIOError is now in the exceptions module.

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72343:0e4c3da62a4b Date: 2014-06-23 10:03 +0200 http://bitbucket.org/pypy/pypy/changeset/0e4c3da62a4b/ Log:BlockingIOError is now in the exceptions module. diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py

[pypy-commit] pypy py3.3: Apply fix for Cpython Issue14857

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72347:8f89bba8441c Date: 2014-07-03 23:23 +0200 http://bitbucket.org/pypy/pypy/changeset/8f89bba8441c/ Log:Apply fix for Cpython Issue14857 diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astcompiler/codegen.py -

[pypy-commit] pypy py3.3: Python3.3 slightly changed the error message

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72350:b0c62d972ccf Date: 2014-07-03 23:54 +0200 http://bitbucket.org/pypy/pypy/changeset/b0c62d972ccf/ Log:Python3.3 slightly changed the error message diff --git a/pypy/interpreter/astcompiler/test/test_compiler.py b/pypy/interpreter/a

[pypy-commit] pypy py3.3: Another fix

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72346:ca2e17af825d Date: 2014-06-23 17:48 +0200 http://bitbucket.org/pypy/pypy/changeset/ca2e17af825d/ Log:Another fix diff --git a/pypy/module/cpyext/test/test_thread.py b/pypy/module/cpyext/test/test_thread.py --- a/pypy/module/cpyext

[pypy-commit] pypy py3.3: PEP3151: OSError is IOError is EnvironmentError is socket.error is select.error!

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72344:38117d8ea60f Date: 2014-06-23 09:47 +0200 http://bitbucket.org/pypy/pypy/changeset/38117d8ea60f/ Log:PEP3151: OSError is IOError is EnvironmentError is socket.error is select.error! diff --git a/pypy/module/_socket/interp_s

[pypy-commit] pypy py3.3: Apply fix for Cpython Issue15839

2014-07-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r72348:7562de248abb Date: 2014-07-03 23:35 +0200 http://bitbucket.org/pypy/pypy/changeset/7562de248abb/ Log:Apply fix for Cpython Issue15839 diff --git a/pypy/module/__builtin__/descriptor.py b/pypy/module/__builtin__/descriptor.py --- a

[pypy-commit] pypy default: Copy the checkin message as comment to the newly introduced function.

2014-07-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r72351:2d41724c01ad Date: 2014-07-04 00:12 +0200 http://bitbucket.org/pypy/pypy/changeset/2d41724c01ad/ Log:Copy the checkin message as comment to the newly introduced function. diff --git a/lib-python/2.7/timeit.py b/lib-python/2.7/timeit.py --