[pypy-commit] pypy default: Move the test to the right class.

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67547:ec8875093ab9 Date: 2013-10-24 08:52 +0200 http://bitbucket.org/pypy/pypy/changeset/ec8875093ab9/ Log:Move the test to the right class. diff --git a/pypy/module/_cffi_backend/test/test_fastpath.py b/pypy/module/_cffi_backend/test/test_fastpath.py

[pypy-commit] pypy default: Test and fix

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67548:be1986c9f303 Date: 2013-10-24 09:03 +0200 http://bitbucket.org/pypy/pypy/changeset/be1986c9f303/ Log:Test and fix diff --git a/pypy/module/_cffi_backend/ctypeptr.py b/pypy/module/_cffi_backend/ctypeptr.py --- a/pypy/module/_cffi_backend/ctypeptr

[pypy-commit] pypy default: Move code around

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67549:33365ef75d96 Date: 2013-10-24 09:19 +0200 http://bitbucket.org/pypy/pypy/changeset/33365ef75d96/ Log:Move code around diff --git a/pypy/module/_cffi_backend/cdataobj.py b/pypy/module/_cffi_backend/cdataobj.py --- a/pypy/module/_cffi_backend/cdat

[pypy-commit] pypy default: Fast packing for arrays of other integer types than 'long'.

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67550:beb446933cde Date: 2013-10-24 09:54 +0200 http://bitbucket.org/pypy/pypy/changeset/beb446933cde/ Log:Fast packing for arrays of other integer types than 'long'. diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctyp

[pypy-commit] pypy default: C types 'float' and 'long double'

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67551:1532c2508a7c Date: 2013-10-24 10:03 +0200 http://bitbucket.org/pypy/pypy/changeset/1532c2508a7c/ Log:C types 'float' and 'long double' diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py --- a/pypy/module

[pypy-commit] pypy default: Unpacking lists of smaller integer types

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67552:41853fcb0f1b Date: 2013-10-24 10:11 +0200 http://bitbucket.org/pypy/pypy/changeset/41853fcb0f1b/ Log:Unpacking lists of smaller integer types diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py --- a/pypy

[pypy-commit] pypy default: list(array-of-c-floats).

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67553:b8da183e86ae Date: 2013-10-24 10:17 +0200 http://bitbucket.org/pypy/pypy/changeset/b8da183e86ae/ Log:list(array-of-c-floats). diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py --- a/pypy/module/_cffi_ba

[pypy-commit] pypy default: test and fix

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67554:20c63568140f Date: 2013-10-24 10:22 +0200 http://bitbucket.org/pypy/pypy/changeset/20c63568140f/ Log:test and fix diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py --- a/pypy/module/_cffi_backend/ctypep

[pypy-commit] pypy default: an attempt to make it faster to compute inequality of some stuff

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67555:72c1e31475e9 Date: 2013-10-23 14:28 +0200 http://bitbucket.org/pypy/pypy/changeset/72c1e31475e9/ Log:an attempt to make it faster to compute inequality of some stuff diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/llt

[pypy-commit] pypy default: fix

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67556:d1ee8abf66b0 Date: 2013-10-23 14:40 +0200 http://bitbucket.org/pypy/pypy/changeset/d1ee8abf66b0/ Log:fix diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype.py --- a/rpython/rtyper/lltypesystem/lltype.

[pypy-commit] pypy default: merge

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67559:c480a86269d4 Date: 2013-10-24 11:23 +0200 http://bitbucket.org/pypy/pypy/changeset/c480a86269d4/ Log:merge diff --git a/lib_pypy/numpypy/lib/utils.py b/lib_pypy/numpypy/lib/utils.py --- a/lib_pypy/numpypy/lib/utils.py +++ b/lib_pypy/numpy

[pypy-commit] pypy default: try to reuse the 'seen' of readwriteanalyzer

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67558:637a1abece5d Date: 2013-10-24 11:21 +0200 http://bitbucket.org/pypy/pypy/changeset/637a1abece5d/ Log:try to reuse the 'seen' of readwriteanalyzer diff --git a/rpython/jit/codewriter/call.py b/rpython/jit/codewriter/call.py --- a/rpython/j

[pypy-commit] pypy default: A controversial checkin - try to limit the size of write analyzer analysis

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67557:c89621c833be Date: 2013-10-24 11:21 +0200 http://bitbucket.org/pypy/pypy/changeset/c89621c833be/ Log:A controversial checkin - try to limit the size of write analyzer analysis diff --git a/rpython/translator/backendopt/writeanalyz

[pypy-commit] pypy default: getfield_gc_pure is just like getfield - does not escape it's args

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67560:71f7e47d44c1 Date: 2013-10-24 11:37 +0200 http://bitbucket.org/pypy/pypy/changeset/71f7e47d44c1/ Log:getfield_gc_pure is just like getfield - does not escape it's args diff --git a/rpython/jit/metainterp/heapcache.py b/rpython/jit/metain

[pypy-commit] pypy default: Add a test for arrays of bools.

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67561:a0518eb1507f Date: 2013-10-24 11:44 +0200 http://bitbucket.org/pypy/pypy/changeset/a0518eb1507f/ Log:Add a test for arrays of bools. diff --git a/pypy/module/_cffi_backend/test/test_fastpath.py b/pypy/module/_cffi_backend/test/test_fastpath.py -

[pypy-commit] pypy default: merge heads

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67562:8d2f699e2f5b Date: 2013-10-24 11:44 +0200 http://bitbucket.org/pypy/pypy/changeset/8d2f699e2f5b/ Log:merge heads diff --git a/rpython/jit/codewriter/call.py b/rpython/jit/codewriter/call.py --- a/rpython/jit/codewriter/call.py +++ b/rpython/jit/c

[pypy-commit] pypy default: merge

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67564:214bfa391b33 Date: 2013-10-24 11:52 +0200 http://bitbucket.org/pypy/pypy/changeset/214bfa391b33/ Log:merge diff --git a/pypy/module/_cffi_backend/test/test_fastpath.py b/pypy/module/_cffi_backend/test/test_fastpath.py --- a/pypy/module/_

[pypy-commit] pypy default: improve the test to check got GETFIELD_GC_PURE

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67563:bc1c47a6b9f2 Date: 2013-10-24 11:49 +0200 http://bitbucket.org/pypy/pypy/changeset/bc1c47a6b9f2/ Log:improve the test to check got GETFIELD_GC_PURE diff --git a/rpython/jit/metainterp/test/test_ajit.py b/rpython/jit/metainterp/test/test_

[pypy-commit] pypy default: No-op, make sure that all instances of W_CTypePrimitiveXxx have all

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67565:ae07e942ebdf Date: 2013-10-24 12:59 +0200 http://bitbucket.org/pypy/pypy/changeset/ae07e942ebdf/ Log:No-op, make sure that all instances of W_CTypePrimitiveXxx have all attributes. diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/py

[pypy-commit] pypy default: merge

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67567:58a5cf1c9c5f Date: 2013-10-24 14:05 +0200 http://bitbucket.org/pypy/pypy/changeset/58a5cf1c9c5f/ Log:merge diff --git a/pypy/module/_cffi_backend/ctypeprim.py b/pypy/module/_cffi_backend/ctypeprim.py --- a/pypy/module/_cffi_backend/ctype

[pypy-commit] pypy default: attack the first part of slowness of stackcheckinsertion. I still dont

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67566:1a8ee9ab87d4 Date: 2013-10-24 14:04 +0200 http://bitbucket.org/pypy/pypy/changeset/1a8ee9ab87d4/ Log:attack the first part of slowness of stackcheckinsertion. I still dont understand why we have >1mln edges though diff --git a/rpy

[pypy-commit] pypy rdict-experiments-3: fight a bit with reprs and recursivness

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67568:b4aa204d4648 Date: 2013-10-24 14:16 +0200 http://bitbucket.org/pypy/pypy/changeset/b4aa204d4648/ Log:fight a bit with reprs and recursivness diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesyst

[pypy-commit] pypy rdict-experiments-3: merge

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67569:cb19a98c78ca Date: 2013-10-24 14:17 +0200 http://bitbucket.org/pypy/pypy/changeset/cb19a98c78ca/ Log:merge diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/rdict.py --- a/rpython/rtyper/l

[pypy-commit] pypy rdict-experiments-3: Shuffle setup around until it works

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67572:892b8d15b53f Date: 2013-10-24 15:35 +0200 http://bitbucket.org/pypy/pypy/changeset/892b8d15b53f/ Log:Shuffle setup around until it works diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltypesystem/r

[pypy-commit] pypy rdict-experiments-3: Don't make dictionaries that have empty tuples as keys

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67571:b6b80c7b692d Date: 2013-10-24 15:35 +0200 http://bitbucket.org/pypy/pypy/changeset/b6b80c7b692d/ Log:Don't make dictionaries that have empty tuples as keys diff --git a/rpython/jit/metainterp/warmstate.py b/rpython/jit

[pypy-commit] pypy rordereddict: a branch to import rdict-experiments-3 as rordereddict (and not touch

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: rordereddict Changeset: r67570:5ac11dc114fb Date: 2013-10-24 14:46 +0200 http://bitbucket.org/pypy/pypy/changeset/5ac11dc114fb/ Log:a branch to import rdict-experiments-3 as rordereddict (and not touch the dict implementation itself at all), thus mak

[pypy-commit] pypy rdict-experiments-3: implement fast function lookup (by hand a bit)

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67573:3b14a46a82d9 Date: 2013-10-24 17:09 +0200 http://bitbucket.org/pypy/pypy/changeset/3b14a46a82d9/ Log:implement fast function lookup (by hand a bit) diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/llt

[pypy-commit] cffi default: Strip the C line of whitespace in error reporting.

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1380:e90d476329dd Date: 2013-10-24 18:31 +0200 http://bitbucket.org/cffi/cffi/changeset/e90d476329dd/ Log:Strip the C line of whitespace in error reporting. diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.py @@ -

[pypy-commit] pypy default: add passing test

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67574:23b6e00c0040 Date: 2013-10-24 18:51 +0200 http://bitbucket.org/pypy/pypy/changeset/23b6e00c0040/ Log:add passing test diff --git a/rpython/rtyper/test/test_rdict.py b/rpython/rtyper/test/test_rdict.py --- a/rpython/rtyper/test/test_rdict.py +++

[pypy-commit] pypy jit-settrace: merged default in

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67576:470793d5f2a6 Date: 2013-10-24 10:48 -0700 http://bitbucket.org/pypy/pypy/changeset/470793d5f2a6/ Log:merged default in diff --git a/pypy/module/_cffi_backend/cdataobj.py b/pypy/module/_cffi_backend/cdataobj.py --- a/pypy/module/_cff

[pypy-commit] pypy jit-settrace: fix for obscure annotation/jitting nonsense

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67575:df2698d1de51 Date: 2013-10-24 10:45 -0700 http://bitbucket.org/pypy/pypy/changeset/df2698d1de51/ Log:fix for obscure annotation/jitting nonsense diff --git a/pypy/interpreter/nestedscope.py b/pypy/interpreter/nestedscope.py --- a/pyp

[pypy-commit] pypy default: fix the tests

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r67577:05f2c0f37596 Date: 2013-10-24 19:56 +0200 http://bitbucket.org/pypy/pypy/changeset/05f2c0f37596/ Log:fix the tests diff --git a/rpython/jit/codewriter/call.py b/rpython/jit/codewriter/call.py --- a/rpython/jit/codewriter/call.py +++ b/rpy

[pypy-commit] pypy rdict-experiments-3: yet another attempt at fixing indirect calls

2013-10-24 Thread fijal
Author: Maciej Fijalkowski Branch: rdict-experiments-3 Changeset: r67578:cbca3da21bd4 Date: 2013-10-24 20:05 +0200 http://bitbucket.org/pypy/pypy/changeset/cbca3da21bd4/ Log:yet another attempt at fixing indirect calls diff --git a/rpython/rtyper/lltypesystem/rdict.py b/rpython/rtyper/lltyp

[pypy-commit] pypy default: Add a test: this misusage of virtualizable arrays should be forbidden.

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67579:f443637ade53 Date: 2013-10-24 19:56 +0200 http://bitbucket.org/pypy/pypy/changeset/f443637ade53/ Log:Add a test: this misusage of virtualizable arrays should be forbidden. In some cases it would generate bogus flattened jitcodes th

[pypy-commit] pypy default: merge heads

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67581:643412f149d4 Date: 2013-10-24 20:11 +0200 http://bitbucket.org/pypy/pypy/changeset/643412f149d4/ Log:merge heads diff --git a/lib_pypy/numpypy/lib/utils.py b/lib_pypy/numpypy/lib/utils.py --- a/lib_pypy/numpypy/lib/utils.py +++ b/lib_pypy/numpypy

[pypy-commit] pypy jit-settrace: Backed out changeset 470793d5f2a6

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67582:3bfebfdea103 Date: 2013-10-24 11:11 -0700 http://bitbucket.org/pypy/pypy/changeset/3bfebfdea103/ Log:Backed out changeset 470793d5f2a6 diff --git a/pypy/module/_cffi_backend/cdataobj.py b/pypy/module/_cffi_backend/cdataobj.py --- a/

[pypy-commit] pypy jit-settrace: copy fixes from default

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67583:3c7fb1b6977b Date: 2013-10-24 11:13 -0700 http://bitbucket.org/pypy/pypy/changeset/3c7fb1b6977b/ Log:copy fixes from default diff --git a/pypy/interpreter/nestedscope.py b/pypy/interpreter/nestedscope.py --- a/pypy/interpreter/nested

[pypy-commit] pypy default: Make this code compliant with "virtualizable arrays are never None".

2013-10-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r67580:d011e042323a Date: 2013-10-24 20:07 +0200 http://bitbucket.org/pypy/pypy/changeset/d011e042323a/ Log:Make this code compliant with "virtualizable arrays are never None". diff --git a/pypy/interpreter/nestedscope.py b/pypy/interpreter/nestedscope.

[pypy-commit] pypy jit-settrace: Added a test

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67584:849ecbc3d133 Date: 2013-10-24 13:57 -0700 http://bitbucket.org/pypy/pypy/changeset/849ecbc3d133/ Log:Added a test diff --git a/pypy/module/pypyjit/test_pypy_c/test_min_max.py b/pypy/module/pypyjit/test_pypy_c/test_min_max.py --- a/p

[pypy-commit] pypy jit-settrace: Consistency

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67585:381c742cb3e8 Date: 2013-10-24 14:04 -0700 http://bitbucket.org/pypy/pypy/changeset/381c742cb3e8/ Log:Consistency diff --git a/pypy/interpreter/eval.py b/pypy/interpreter/eval.py --- a/pypy/interpreter/eval.py +++ b/pypy/interpreter/e

[pypy-commit] pypy jit-settrace: Fixed tests

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67586:bab17124e8a3 Date: 2013-10-24 14:14 -0700 http://bitbucket.org/pypy/pypy/changeset/bab17124e8a3/ Log:Fixed tests diff --git a/pypy/interpreter/test/test_eval.py b/pypy/interpreter/test/test_eval.py --- a/pypy/interpreter/test/test_e

[pypy-commit] pypy jit-settrace: This is quasi-immutable

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67587:a05179d6070b Date: 2013-10-24 14:34 -0700 http://bitbucket.org/pypy/pypy/changeset/a05179d6070b/ Log:This is quasi-immutable diff --git a/pypy/interpreter/executioncontext.py b/pypy/interpreter/executioncontext.py --- a/pypy/interpr

[pypy-commit] pypy jit-settrace: backed out my previous backout

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67589:558bcd112473 Date: 2013-10-24 15:41 -0700 http://bitbucket.org/pypy/pypy/changeset/558bcd112473/ Log:backed out my previous backout diff --git a/pypy/module/_cffi_backend/cdataobj.py b/pypy/module/_cffi_backend/cdataobj.py --- a/pyp

[pypy-commit] pypy default: attempt to fix the logic introduced in 72c1e31

2013-10-24 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r67590:3e3897b5cbd0 Date: 2013-10-24 22:48 -0400 http://bitbucket.org/pypy/pypy/changeset/3e3897b5cbd0/ Log:attempt to fix the logic introduced in 72c1e31 diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype.py ---

[pypy-commit] pypy default: Backed out changeset 3e3897b5cbd0

2013-10-24 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r67591:e7dec9b071db Date: 2013-10-24 22:54 -0400 http://bitbucket.org/pypy/pypy/changeset/e7dec9b071db/ Log:Backed out changeset 3e3897b5cbd0 diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype.py --- a/rpython/rty

[pypy-commit] pypy default: back out 72c1e31475e9 and d1ee8abf66b0 to fix breakage

2013-10-24 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r67592:cd2a4dd3979a Date: 2013-10-24 22:59 -0400 http://bitbucket.org/pypy/pypy/changeset/cd2a4dd3979a/ Log:back out 72c1e31475e9 and d1ee8abf66b0 to fix breakage diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype

[pypy-commit] pypy default: merge

2013-10-24 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r67593:db7a73ea7e32 Date: 2013-10-24 22:59 -0400 http://bitbucket.org/pypy/pypy/changeset/db7a73ea7e32/ Log:merge diff --git a/lib_pypy/numpypy/lib/utils.py b/lib_pypy/numpypy/lib/utils.py --- a/lib_pypy/numpypy/lib/utils.py +++ b/lib_pypy/numpypy/lib

[pypy-commit] pypy jit-settrace: mergedd efault

2013-10-24 Thread alex_gaynor
Author: Alex Gaynor Branch: jit-settrace Changeset: r67594:664414f1f20e Date: 2013-10-24 20:03 -0700 http://bitbucket.org/pypy/pypy/changeset/664414f1f20e/ Log:mergedd efault diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype.py --- a/rpython/rtyper/llty