[pypy-commit] pypy default: allow uint ops as ok_ops since INVALID_SOCKET is uint on MSVC

2014-07-02 Thread mattip
Author: mattip Branch: Changeset: r72324:eb50bceda86c Date: 2014-07-03 13:25 +1000 http://bitbucket.org/pypy/pypy/changeset/eb50bceda86c/ Log:allow uint ops as ok_ops since INVALID_SOCKET is uint on MSVC diff --git a/rpython/translator/backendopt/finalizer.py b/rpython/translator/backendop

[pypy-commit] pypy.org extradoc: Twisted with SSL works these days

2014-07-02 Thread alex_gaynor
Author: Alex Gaynor Branch: extradoc Changeset: r514:836e9b3f5226 Date: 2014-07-02 15:28 -0700 http://bitbucket.org/pypy/pypy.org/changeset/836e9b3f5226/ Log:Twisted with SSL works these days diff --git a/compat.html b/compat.html --- a/compat.html +++ b/compat.html @@ -74,7 +74,7 @@ django

[pypy-commit] pypy stmgc-c7: fixes

2014-07-02 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r72323:84e3bd9b16ad Date: 2014-07-02 21:28 +0200 http://bitbucket.org/pypy/pypy/changeset/84e3bd9b16ad/ Log:fixes diff --git a/rpython/jit/backend/llsupport/llmodel.py b/rpython/jit/backend/llsupport/llmodel.py --- a/rpython/jit/backend/llsuppo

[pypy-commit] pypy default: Details from the stm branch

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72322:659b814b797a Date: 2014-07-02 21:28 +0200 http://bitbucket.org/pypy/pypy/changeset/659b814b797a/ Log:Details from the stm branch diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py --- a/rpython/jit/backe

[pypy-commit] pypy stmgc-c7: Fix

2014-07-02 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r72321:5d850e01c23b Date: 2014-07-02 20:53 +0200 http://bitbucket.org/pypy/pypy/changeset/5d850e01c23b/ Log:Fix diff --git a/rpython/annotator/builtin.py b/rpython/annotator/builtin.py --- a/rpython/annotator/builtin.py +++ b/rpython/annotator/b

[pypy-commit] pypy default: Update: now stm is 'only' 2x slower rather than 10x on translate.py.

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72319:787e204c5c92 Date: 2014-07-02 20:10 +0200 http://bitbucket.org/pypy/pypy/changeset/787e204c5c92/ Log:Update: now stm is 'only' 2x slower rather than 10x on translate.py. diff --git a/pypy/doc/stm.rst b/pypy/doc/stm.rst --- a/pypy/doc/stm.rst +++

[pypy-commit] pypy default: Prescale the dictionary in ll_dict_update().

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72318:f63fbf006d6f Date: 2014-07-02 19:53 +0200 http://bitbucket.org/pypy/pypy/changeset/f63fbf006d6f/ Log:Prescale the dictionary in ll_dict_update(). diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.py --- a/rpyt

[pypy-commit] pypy ppc-updated-backend: Fix frame_depth calculated size

2014-07-02 Thread ISF
Author: Ivan Sichmann Freitas Branch: ppc-updated-backend Changeset: r72317:034413cecc37 Date: 2014-07-02 17:56 + http://bitbucket.org/pypy/pypy/changeset/034413cecc37/ Log:Fix frame_depth calculated size diff --git a/rpython/jit/backend/ppc/ppc_assembler.py b/rpython/jit/backend/ppc/pp

[pypy-commit] lang-smalltalk vref: virtualize sender only around c_loop

2014-07-02 Thread timfel
Author: Tim Felgentreff Branch: vref Changeset: r849:2f3aaab262c5 Date: 2014-07-02 17:48 +0200 http://bitbucket.org/pypy/lang-smalltalk/changeset/2f3aaab262c5/ Log:virtualize sender only around c_loop diff --git a/spyvm/interpreter.py b/spyvm/interpreter.py --- a/spyvm/interpreter.py +++ b/s

[pypy-commit] lang-smalltalk vref: commit first translating version where all senders are vrefs

2014-07-02 Thread timfel
Author: Tim Felgentreff Branch: vref Changeset: r848:a0a057d2e444 Date: 2014-07-02 13:05 +0200 http://bitbucket.org/pypy/lang-smalltalk/changeset/a0a057d2e444/ Log:commit first translating version where all senders are vrefs diff --git a/spyvm/interpreter.py b/spyvm/interpreter.py --- a/spyv

[pypy-commit] lang-smalltalk 64bit-c2: Float asString produced wrong results because image instances were read wrongly

2014-07-02 Thread Hubert Hesse
Author: Hubert Hesse Branch: 64bit-c2 Changeset: r847:54b5ca0cfbd4 Date: 2014-06-12 20:14 +0200 http://bitbucket.org/pypy/lang-smalltalk/changeset/54b5ca0cfbd4/ Log:Float asString produced wrong results because image instances were read wrongly diff --git a/spyvm/squeakimage.py b/spy

[pypy-commit] pypy default: Issue #1790: implement numpy.empty() differently than numpy.zeros().

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72316:4d1d1c2d78ae Date: 2014-07-02 17:37 +0200 http://bitbucket.org/pypy/pypy/changeset/4d1d1c2d78ae/ Log:Issue #1790: implement numpy.empty() differently than numpy.zeros(). diff --git a/pypy/module/micronumpy/__init__.py b/pypy/module/micronumpy/__

[pypy-commit] pypy default: Tweaks to timeit.py:

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72315:bbabcc9974eb Date: 2014-07-02 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/bbabcc9974eb/ Log:Tweaks to timeit.py: * don't use itertools.repeat(), just plainly do "while n > 0: n -= 1". * recompile the source code

[pypy-commit] pypy default: Issue #1779: PyList_GetItem() took a time proportional to the length of

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72314:07de89e151e9 Date: 2014-07-02 16:24 +0200 http://bitbucket.org/pypy/pypy/changeset/07de89e151e9/ Log:Issue #1779: PyList_GetItem() took a time proportional to the length of the list in case the list's strategy is not the default one. diff

[pypy-commit] pypy default: Add some logic in an attempt to fix issue #1782. There are cases where it slows things down; see comments.

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72313:640d0a2fedc6 Date: 2014-07-02 14:33 +0200 http://bitbucket.org/pypy/pypy/changeset/640d0a2fedc6/ Log:Add some logic in an attempt to fix issue #1782. There are cases where it slows things down; see comments. diff --git a/pypy/interpreter/

[pypy-commit] pypy default: Issue #1783

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72312:93a8f5aeb3bc Date: 2014-07-02 11:18 +0200 http://bitbucket.org/pypy/pypy/changeset/93a8f5aeb3bc/ Log:Issue #1783 Improve array.extend(x) by not requiring an intermediate list in case there isn't one, e.g. if x is a generator or it

[pypy-commit] pypy default: Optimize array.extend() and make it support directly lists of ints or floats.

2014-07-02 Thread arigo
Author: Armin Rigo Branch: Changeset: r72311:6b30b8d83c24 Date: 2014-07-02 10:11 +0200 http://bitbucket.org/pypy/pypy/changeset/6b30b8d83c24/ Log:Optimize array.extend() and make it support directly lists of ints or floats. diff --git a/pypy/module/array/interp_array.py b/pypy/modu