[pypy-commit] pypy default: merge

2014-12-18 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r75010:c3be2cabf20d Date: 2014-12-18 10:15 +0200 http://bitbucket.org/pypy/pypy/changeset/c3be2cabf20d/ Log:merge diff --git a/rpython/jit/metainterp/optimizeopt/rewrite.py b/rpython/jit/metainterp/optimizeopt/rewrite.py --- a/rpython/jit/metai

[pypy-commit] pypy default: this broke stuff, revert

2014-12-18 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r75009:1568f745143e Date: 2014-12-18 10:13 +0200 http://bitbucket.org/pypy/pypy/changeset/1568f745143e/ Log:this broke stuff, revert diff --git a/rpython/jit/metainterp/optimizeopt/unroll.py b/rpython/jit/metainterp/optimizeopt/unroll.py --- a/

[pypy-commit] pypy default: someone has to explain to me why this is not reasonable

2014-12-18 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r75011:57d177436b84 Date: 2014-12-18 10:45 +0200 http://bitbucket.org/pypy/pypy/changeset/57d177436b84/ Log:someone has to explain to me why this is not reasonable diff --git a/rpython/jit/metainterp/optimizeopt/optimizer.py b/rpython/jit/metai

[pypy-commit] pypy default: Copy better error message from CPython 2.7 for list.index().

2014-12-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r75012:c1e5d1cca6aa Date: 2014-12-18 09:48 + http://bitbucket.org/pypy/pypy/changeset/c1e5d1cca6aa/ Log:Copy better error message from CPython 2.7 for list.index(). As there is no reason not to, also use it for list.remove(). diff --git a/py

[pypy-commit] pypy default: Backed out changeset 57d177436b84

2014-12-18 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r75013:01fc6eb5e20c Date: 2014-12-18 14:47 +0200 http://bitbucket.org/pypy/pypy/changeset/01fc6eb5e20c/ Log:Backed out changeset 57d177436b84 diff --git a/rpython/jit/metainterp/optimizeopt/optimizer.py b/rpython/jit/metainterp/optimizeopt/opti

[pypy-commit] pypy default: merge

2014-12-18 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r75014:d19489819ae6 Date: 2014-12-18 14:49 +0200 http://bitbucket.org/pypy/pypy/changeset/d19489819ae6/ Log:merge diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobject.py +++ b/pypy/obj

[pypy-commit] pypy default: (idea by antocuni) Complain clearly when trying to import 'readline' on

2014-12-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r75015:e8b468bcd294 Date: 2014-12-18 16:37 + http://bitbucket.org/pypy/pypy/changeset/e8b468bcd294/ Log:(idea by antocuni) Complain clearly when trying to import 'readline' on Windows. diff --git a/lib_pypy/readline.py b/lib_pypy/readline.py

[pypy-commit] pypy libgccjit-backend: Clarify _impl_guard; start adding boilerplate for bridges

2014-12-18 Thread dmalcolm
Author: David Malcolm Branch: libgccjit-backend Changeset: r75017:a1db64631c41 Date: 2014-12-17 13:20 -0500 http://bitbucket.org/pypy/pypy/changeset/a1db64631c41/ Log:Clarify _impl_guard; start adding boilerplate for bridges diff --git a/rpython/jit/backend/libgccjit/assembler.py b/rpython/

[pypy-commit] pypy libgccjit-backend: Document the changes to libgccjit that I need to merge

2014-12-18 Thread dmalcolm
Author: David Malcolm Branch: libgccjit-backend Changeset: r75020:5d890f2ddecd Date: 2014-12-18 12:17 -0500 http://bitbucket.org/pypy/pypy/changeset/5d890f2ddecd/ Log:Document the changes to libgccjit that I need to merge diff --git a/rpython/jit/backend/libgccjit/notes.rst b/rpython/jit/ba

[pypy-commit] pypy libgccjit-backend: Begin implementing code patching

2014-12-18 Thread dmalcolm
Author: David Malcolm Branch: libgccjit-backend Changeset: r75019:ee6c48dc603d Date: 2014-12-18 12:10 -0500 http://bitbucket.org/pypy/pypy/changeset/ee6c48dc603d/ Log:Begin implementing code patching When generating guard failure handling, replace direct call to default handl

[pypy-commit] pypy libgccjit-backend: Split out guard failure into a tail call to another function

2014-12-18 Thread dmalcolm
Author: David Malcolm Branch: libgccjit-backend Changeset: r75018:eb3ba1b9910e Date: 2014-12-17 15:43 -0500 http://bitbucket.org/pypy/pypy/changeset/eb3ba1b9910e/ Log:Split out guard failure into a tail call to another function Eventually this could be a jump through a function point

[pypy-commit] pypy libgccjit-backend: Implement uint_floordiv and uint_rshift; reduce debug spew

2014-12-18 Thread dmalcolm
Author: David Malcolm Branch: libgccjit-backend Changeset: r75016:3e8180a52286 Date: 2014-12-17 12:47 -0500 http://bitbucket.org/pypy/pypy/changeset/3e8180a52286/ Log:Implement uint_floordiv and uint_rshift; reduce debug spew diff --git a/rpython/jit/backend/libgccjit/assembler.py b/rpython

[pypy-commit] pypy py3.3: Add type.__qualname__

2014-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r75023:9db6340d5ce9 Date: 2014-12-18 22:35 +0100 http://bitbucket.org/pypy/pypy/changeset/9db6340d5ce9/ Log:Add type.__qualname__ diff --git a/pypy/interpreter/astcompiler/assemble.py b/pypy/interpreter/astcompiler/assemble.py --- a/pypy

[pypy-commit] pypy py3.3: Add "" in the qualname when the object comes from an executed function block.

2014-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r75024:daf8e9141435 Date: 2014-12-18 22:35 +0100 http://bitbucket.org/pypy/pypy/changeset/daf8e9141435/ Log:Add "" in the qualname when the object comes from an executed function block. diff --git a/pypy/interpreter/astcompiler/co

[pypy-commit] pypy py3.3: Add rfloat.log2(), which tries to be exact for powers of two.

2014-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r75026:d3c7a156cc70 Date: 2014-12-18 22:35 +0100 http://bitbucket.org/pypy/pypy/changeset/d3c7a156cc70/ Log:Add rfloat.log2(), which tries to be exact for powers of two. Use it in math.log2. diff --git a/pypy/module/math/interp_ma

[pypy-commit] pypy py3.3: unicode_internal codec accept both bytes and unicode for both functions

2014-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r75025:0b478e4a57e3 Date: 2014-12-18 22:35 +0100 http://bitbucket.org/pypy/pypy/changeset/0b478e4a57e3/ Log:unicode_internal codec accept both bytes and unicode for both functions diff --git a/pypy/module/_codecs/interp_codecs.py

[pypy-commit] pypy py3.3: Really implement __qualname__ for nested blocks.

2014-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r75022:9ebba4eb7768 Date: 2014-12-18 22:36 +0100 http://bitbucket.org/pypy/pypy/changeset/9ebba4eb7768/ Log:Really implement __qualname__ for nested blocks. diff --git a/lib-python/3/importlib/_bootstrap.py b/lib-python/3/importlib/_boot

[pypy-commit] pypy py3.3: Add Function.__qualname__, basic form.

2014-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.3 Changeset: r75021:a81d1ddf3dfe Date: 2014-12-18 22:36 +0100 http://bitbucket.org/pypy/pypy/changeset/a81d1ddf3dfe/ Log:Add Function.__qualname__, basic form. diff --git a/pypy/interpreter/function.py b/pypy/interpreter/function.py --- a/pypy/interpr

[pypy-commit] creflect default: more tests

2014-12-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r202:80584114b8eb Date: 2014-12-18 17:38 + http://bitbucket.org/cffi/creflect/changeset/80584114b8eb/ Log:more tests diff --git a/zeffir/test/test_funcptr.py b/zeffir/test/test_funcptr.py --- a/zeffir/test/test_funcptr.py +++ b/zeffir/test/test_func

[pypy-commit] creflect default: Stop trying to be clever and reject overloaded functions. Change

2014-12-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r201:83606604d6cd Date: 2014-12-18 17:34 + http://bitbucket.org/cffi/creflect/changeset/83606604d6cd/ Log:Stop trying to be clever and reject overloaded functions. Change the tests to use one possible workaround instead. diff --git a/creflec

[pypy-commit] pypy stdlib-2.7.9: skip some added tests when run against older cpython

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75028:b85da8ff6c09 Date: 2014-12-18 18:29 -0500 http://bitbucket.org/pypy/pypy/changeset/b85da8ff6c09/ Log:skip some added tests when run against older cpython diff --git a/pypy/interpreter/test/test_compiler.py b/pypy/interpreter/test/t

[pypy-commit] pypy stdlib-2.7.9: update version to 2.7.9

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75027:2d54007751f0 Date: 2014-12-18 18:23 -0500 http://bitbucket.org/pypy/pypy/changeset/2d54007751f0/ Log:update version to 2.7.9 diff --git a/pypy/module/cpyext/include/patchlevel.h b/pypy/module/cpyext/include/patchlevel.h --- a/pypy/

[pypy-commit] pypy stdlib-2.7.9: update _ctypes_test.c from cpython

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75029:3f0415c7d6b1 Date: 2014-12-18 18:39 -0500 http://bitbucket.org/pypy/pypy/changeset/3f0415c7d6b1/ Log:update _ctypes_test.c from cpython diff --git a/lib_pypy/_ctypes_test.c b/lib_pypy/_ctypes_test.c --- a/lib_pypy/_ctypes_test.c +++

[pypy-commit] pypy stdlib-2.7.9: skip a test_unicode when no ctypes.pythonapi exists

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75030:773018d6ae59 Date: 2014-12-18 18:50 -0500 http://bitbucket.org/pypy/pypy/changeset/773018d6ae59/ Log:skip a test_unicode when no ctypes.pythonapi exists diff --git a/lib-python/2.7/test/test_unicode.py b/lib-python/2.7/test/test_un

[pypy-commit] pypy stdlib-2.7.9: add a failing binascii.a2b_uu case

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75031:c297e68f8ff0 Date: 2014-12-18 19:19 -0500 http://bitbucket.org/pypy/pypy/changeset/c297e68f8ff0/ Log:add a failing binascii.a2b_uu case diff --git a/pypy/module/binascii/test/test_binascii.py b/pypy/module/binascii/test/test_binasc

[pypy-commit] pypy stdlib-2.7.9: fix test_readline version check

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75032:96a806f14899 Date: 2014-12-18 23:06 -0500 http://bitbucket.org/pypy/pypy/changeset/96a806f14899/ Log:fix test_readline version check diff --git a/lib-python/2.7/test/test_readline.py b/lib-python/2.7/test/test_readline.py --- a/lib

[pypy-commit] pypy stdlib-2.7.9: fix test_xdrlib by correcting struct.pack exception types

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75033:8ed6988ac4dd Date: 2014-12-18 23:27 -0500 http://bitbucket.org/pypy/pypy/changeset/8ed6988ac4dd/ Log:fix test_xdrlib by correcting struct.pack exception types diff --git a/pypy/module/struct/formatiterator.py b/pypy/module/struct/f

[pypy-commit] pypy stdlib-2.7.9: further fix struct.pack conversions

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75035:09d67d2e9a36 Date: 2014-12-19 02:17 -0500 http://bitbucket.org/pypy/pypy/changeset/09d67d2e9a36/ Log:further fix struct.pack conversions diff --git a/pypy/module/struct/formatiterator.py b/pypy/module/struct/formatiterator.py --- a

[pypy-commit] pypy stdlib-2.7.9: provide complex.__int__ method

2014-12-18 Thread bdkearns
Author: Brian Kearns Branch: stdlib-2.7.9 Changeset: r75034:04003981e306 Date: 2014-12-19 02:15 -0500 http://bitbucket.org/pypy/pypy/changeset/04003981e306/ Log:provide complex.__int__ method diff --git a/pypy/objspace/std/complexobject.py b/pypy/objspace/std/complexobject.py --- a/pypy/obj