[pypy-commit] pypy default: Fix PyNumber_Check() to:

2016-07-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r85901:76db6bbbc6f6 Date: 2016-07-29 10:29 +0200 http://bitbucket.org/pypy/pypy/changeset/76db6bbbc6f6/ Log:Fix PyNumber_Check() to: - match the behavior of CPython (it returns true for complex numbers, for example) - hopefully

[pypy-commit] pypy stmgc-c8: make the previous test correct (use monkeypatch)

2016-07-29 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r85902:ab0a5dbd55a0 Date: 2016-07-29 14:37 +0200 http://bitbucket.org/pypy/pypy/changeset/ab0a5dbd55a0/ Log:make the previous test correct (use monkeypatch) diff --git a/pypy/module/pypystm/test/test_local.py b/pypy/module/pypystm/test/test_loc

[pypy-commit] pypy default: Hash: turn -1 into -2 without using a condition, to avoid

2016-07-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r85903:ac03886bcddb Date: 2016-07-29 14:52 +0200 http://bitbucket.org/pypy/pypy/changeset/ac03886bcddb/ Log:Hash: turn -1 into -2 without using a condition, to avoid creating a bridge in the JIT diff --git a/pypy/objspace/descroperation.py b/pyp

[pypy-commit] pypy py3.5-async: add __await__ method to Coroutine typedef and redirect it to descr__await__

2016-07-29 Thread plan_rich
Author: Richard Plangger Branch: py3.5-async Changeset: r85904:000728f0465a Date: 2016-07-29 15:31 +0200 http://bitbucket.org/pypy/pypy/changeset/000728f0465a/ Log:add __await__ method to Coroutine typedef and redirect it to descr__await__ diff --git a/pypy/interpreter/generator.py b

[pypy-commit] pypy default: fix Makefile clean, non-optimization for win32

2016-07-29 Thread mattip
Author: mattip Branch: Changeset: r85905:a34bf4f9993a Date: 2016-07-29 12:25 -0500 http://bitbucket.org/pypy/pypy/changeset/a34bf4f9993a/ Log:fix Makefile clean, non-optimization for win32 diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py --- a/rpython/translator/c/ge

[pypy-commit] pypy default: remove define, mistakenly taken from python3

2016-07-29 Thread mattip
Author: mattip Branch: Changeset: r85907:f623f9884a8f Date: 2016-07-29 09:05 -0500 http://bitbucket.org/pypy/pypy/changeset/f623f9884a8f/ Log:remove define, mistakenly taken from python3 diff --git a/pypy/module/cpyext/include/pyport.h b/pypy/module/cpyext/include/pyport.h --- a/pypy/modul

[pypy-commit] pypy default: add target for msvc

2016-07-29 Thread mattip
Author: mattip Branch: Changeset: r85906:fec320c6a9dd Date: 2016-07-29 05:56 -0500 http://bitbucket.org/pypy/pypy/changeset/fec320c6a9dd/ Log:add target for msvc diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py --- a/rpython/translator/c/genc.py +++ b/rpython/transla

[pypy-commit] pypy default: test, fix for missing nb_* slot, what else is missing?

2016-07-29 Thread mattip
Author: mattip Branch: Changeset: r85908:d67646a1ac41 Date: 2016-07-29 10:10 -0500 http://bitbucket.org/pypy/pypy/changeset/d67646a1ac41/ Log:test, fix for missing nb_* slot, what else is missing? diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py --- a/pypy/module

[pypy-commit] pypy py3k: On Python3, errors raised when trying to access obj.__class__ are propagated

2016-07-29 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r85909:190116421221 Date: 2016-07-29 16:23 +0100 http://bitbucket.org/pypy/pypy/changeset/190116421221/ Log:On Python3, errors raised when trying to access obj.__class__ are propagated diff --git a/pypy/module/__builtin__/abstractinst.py b/

[pypy-commit] pypy py3k: fix tests for py3k (old-style classes)

2016-07-29 Thread rlamy
Author: Ronan Lamy Branch: py3k Changeset: r85910:c2c54266b66d Date: 2016-07-29 16:51 +0100 http://bitbucket.org/pypy/pypy/changeset/c2c54266b66d/ Log:fix tests for py3k (old-style classes) diff --git a/pypy/objspace/std/test/test_typeobject.py b/pypy/objspace/std/test/test_typeobject.py --

[pypy-commit] pypy.org extradoc: Merged in av6/pypy.org (pull request #11)

2016-07-29 Thread rlamy
Author: Ronan Lamy Branch: extradoc Changeset: r772:d9498bbc88bc Date: 2016-07-29 17:00 +0100 http://bitbucket.org/pypy/pypy.org/changeset/d9498bbc88bc/ Log:Merged in av6/pypy.org (pull request #11) download: update link to Mercurial diff --git a/download.html b/download.html --- a/

[pypy-commit] pypy null_byte_after_str: Allocate all STRs (including prebuilt ones) with enough space for one

2016-07-29 Thread arigo
Author: Armin Rigo Branch: null_byte_after_str Changeset: r85911:1abc2152f631 Date: 2016-07-29 18:06 +0200 http://bitbucket.org/pypy/pypy/changeset/1abc2152f631/ Log:Allocate all STRs (including prebuilt ones) with enough space for one extra uninitialized character. Add rgc.ll

[pypy-commit] pypy null_byte_after_str: Test with the framework GCs, passing because gctypelayout already uses

2016-07-29 Thread arigo
Author: Armin Rigo Branch: null_byte_after_str Changeset: r85912:8314165f314f Date: 2016-07-29 18:11 +0200 http://bitbucket.org/pypy/pypy/changeset/8314165f314f/ Log:Test with the framework GCs, passing because gctypelayout already uses the modified llmemory.sizeof() diff --git a/rpy

[pypy-commit] pypy.org extradoc: download: update link to Mercurial

2016-07-29 Thread av6
Author: Anton Shestakov Branch: extradoc Changeset: r771:8beba15d6a47 Date: 2016-07-20 11:38 +0800 http://bitbucket.org/pypy/pypy.org/changeset/8beba15d6a47/ Log:download: update link to Mercurial diff --git a/download.html b/download.html --- a/download.html +++ b/download.html @@ -240,7 +2

[pypy-commit] pypy py3.5-async: Add check in getAwaitableIter for Generator with ITERABLE_COROUTINE flag, fix parameters, switch order of Coroutine and Generator check in pyframe

2016-07-29 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85913:0f9d6b6049cc Date: 2016-07-29 18:49 +0200 http://bitbucket.org/pypy/pypy/changeset/0f9d6b6049cc/ Log:Add check in getAwaitableIter for Generator with ITERABLE_COROUTINE flag, fix parameters, switch order of Coroutine and Gen

[pypy-commit] pypy null_byte_after_str: Test, and fixes for tests

2016-07-29 Thread arigo
Author: Armin Rigo Branch: null_byte_after_str Changeset: r85914:8c4847b9f717 Date: 2016-07-29 18:46 +0200 http://bitbucket.org/pypy/pypy/changeset/8c4847b9f717/ Log:Test, and fixes for tests diff --git a/rpython/jit/backend/llsupport/test/ztranslation_test.py b/rpython/jit/backend/llsuppor

[pypy-commit] pypy null_byte_after_str: rffi.scoped_nonmovingbuffer_final_null

2016-07-29 Thread arigo
Author: Armin Rigo Branch: null_byte_after_str Changeset: r85915:4496557d38d9 Date: 2016-07-29 19:25 +0200 http://bitbucket.org/pypy/pypy/changeset/4496557d38d9/ Log:rffi.scoped_nonmovingbuffer_final_null diff --git a/rpython/rlib/rgc.py b/rpython/rlib/rgc.py --- a/rpython/rlib/rgc.py +++ b/

[pypy-commit] pypy null_byte_after_str: cffi: tentatively pass the raw address inside RPython strings

2016-07-29 Thread arigo
Author: Armin Rigo Branch: null_byte_after_str Changeset: r85916:f2f9031b0f4b Date: 2016-07-29 20:11 +0200 http://bitbucket.org/pypy/pypy/changeset/f2f9031b0f4b/ Log:cffi: tentatively pass the raw address inside RPython strings diff --git a/pypy/module/_cffi_backend/ctypefunc.py b/pypy/modu

[pypy-commit] pypy default: Fix tests, now that 'lltype.typeOf(very_large_long)' gives an error

2016-07-29 Thread arigo
Author: Armin Rigo Branch: Changeset: r85917:0cafa40b38a9 Date: 2016-07-29 20:25 +0200 http://bitbucket.org/pypy/pypy/changeset/0cafa40b38a9/ Log:Fix tests, now that 'lltype.typeOf(very_large_long)' gives an error diff --git a/pypy/objspace/std/test/test_stdobjspace.py b/pypy/objspace/std/

[pypy-commit] pypy py3.5-async: Only call __await__ if it exists

2016-07-29 Thread raffael_t
Author: Raffael Tfirst Branch: py3.5-async Changeset: r85918:5a3b4f095c70 Date: 2016-07-29 22:05 +0200 http://bitbucket.org/pypy/pypy/changeset/5a3b4f095c70/ Log:Only call __await__ if it exists diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py --- a/pypy/interpreter