[pypy-commit] pypy identity-set: (andrewchambers) identity set strategy

2013-06-28 Thread fijal
Author: Maciej Fijalkowski Branch: identity-set Changeset: r65046:bab634a518bf Date: 2013-06-28 09:27 +0200 http://bitbucket.org/pypy/pypy/changeset/bab634a518bf/ Log:(andrewchambers) identity set strategy diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pyp

[pypy-commit] pypy default: test, fix fill for complex types

2013-06-28 Thread mattip
Author: Matti Picus Branch: Changeset: r65047:89ca223757d9 Date: 2013-06-28 10:58 +0300 http://bitbucket.org/pypy/pypy/changeset/89ca223757d9/ Log:test, fix fill for complex types diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py --- a

[pypy-commit] buildbot numpy-tests: start to write a target for testing numpy as a site-package, using git and nose

2013-06-28 Thread mattip
Author: Matti Picus Branch: numpy-tests Changeset: r828:f18b4fa91292 Date: 2013-06-28 11:46 +0300 http://bitbucket.org/pypy/buildbot/changeset/f18b4fa91292/ Log:start to write a target for testing numpy as a site-package, using git and nose diff --git a/bot2/pypybuildbot/builds.py b/

[pypy-commit] stmgc default: Test and fix

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r314:c43233de7f0e Date: 2013-06-28 11:17 +0200 http://bitbucket.org/pypy/stmgc/changeset/c43233de7f0e/ Log:Test and fix diff --git a/c4/nursery.c b/c4/nursery.c --- a/c4/nursery.c +++ b/c4/nursery.c @@ -646,7 +646,8 @@ } /* Are we at the end

[pypy-commit] stmgc default: The original test showing the problem fixed in c43233de7f0e.

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r315:860cf40b0858 Date: 2013-06-28 11:21 +0200 http://bitbucket.org/pypy/stmgc/changeset/860cf40b0858/ Log:The original test showing the problem fixed in c43233de7f0e. diff --git a/duhton/test/test_gc.py b/duhton/test/test_gc.py --- a/duhton/test/test_g

[pypy-commit] stmgc default: Passing tests.

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r316:45380d4cb89c Date: 2013-06-28 11:23 +0200 http://bitbucket.org/pypy/stmgc/changeset/45380d4cb89c/ Log:Passing tests. diff --git a/duhton/test/test_transaction.py b/duhton/test/test_transaction.py --- a/duhton/test/test_transaction.py +++ b/duhton/t

[pypy-commit] pypy fastjson: this gives a ~30% speedup: it's the same speedup which was observed in 24a2398ade5b but got lost when the function became too big and stopped to become automatically inlin

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65050:da468fc481b3 Date: 2013-06-26 18:49 +0200 http://bitbucket.org/pypy/pypy/changeset/da468fc481b3/ Log:this gives a ~30% speedup: it's the same speedup which was observed in 24a2398ade5b but got lost when the function became too bi

[pypy-commit] pypy fastjson: add support for big numbers which are turned into longs

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65051:01e0cc2cf8c8 Date: 2013-06-28 11:48 +0200 http://bitbucket.org/pypy/pypy/changeset/01e0cc2cf8c8/ Log:add support for big numbers which are turned into longs diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/i

[pypy-commit] pypy fastjson: leading 0s are allowed in the exponent part

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65049:05ec68a8c965 Date: 2013-06-26 15:18 +0200 http://bitbucket.org/pypy/pypy/changeset/05ec68a8c965/ Log:leading 0s are allowed in the exponent part diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decode

[pypy-commit] pypy fastjson: the only number which is allowed to start with 0 is 0 itself

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65048:6e71ab1760e1 Date: 2013-06-26 14:32 +0200 http://bitbucket.org/pypy/pypy/changeset/6e71ab1760e1/ Log:the only number which is allowed to start with 0 is 0 itself diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastj

[pypy-commit] pypy fastjson: handle also the exponent

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65053:bd082881bde9 Date: 2013-06-28 12:06 +0200 http://bitbucket.org/pypy/pypy/changeset/bd082881bde9/ Log:handle also the exponent diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.py --- a/pypy/mod

[pypy-commit] pypy fastjson: do the correct thing when we have a float number with a large number of digits

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65052:09970bd41cfe Date: 2013-06-28 12:04 +0200 http://bitbucket.org/pypy/pypy/changeset/09970bd41cfe/ Log:do the correct thing when we have a float number with a large number of digits diff --git a/pypy/module/_fastjson/interp_decode

[pypy-commit] pypy identity-set: Added tests for some cases where classes are changed at runtime, and added

2013-06-28 Thread andrewchambers
Author: Andrew Chambers Branch: identity-set Changeset: r65054:858c2dc597dc Date: 2013-06-28 22:24 +1200 http://bitbucket.org/pypy/pypy/changeset/858c2dc597dc/ Log:Added tests for some cases where classes are changed at runtime, and added a simple iteration test case for the identitys

[pypy-commit] pypy ndarray-view: test view

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65056:1cdbf8183c73 Date: 2013-06-28 12:22 +0300 http://bitbucket.org/pypy/pypy/changeset/1cdbf8183c73/ Log:test view diff --git a/pypy/module/micronumpy/test/test_numarray.py b/pypy/module/micronumpy/test/test_numarray.py --- a/pypy/modul

[pypy-commit] pypy ndarray-view: add view to ndarray

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65055:fc0ee8f6246b Date: 2013-06-28 12:04 +0300 http://bitbucket.org/pypy/pypy/changeset/fc0ee8f6246b/ Log:add view to ndarray ___ pypy-commit mailing list [email protected] http://mail.pyth

[pypy-commit] pypy ndarray-view: test view shape changes

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65058:050f965366b8 Date: 2013-06-28 13:48 +0300 http://bitbucket.org/pypy/pypy/changeset/050f965366b8/ Log:test view shape changes diff --git a/pypy/module/micronumpy/arrayimpl/concrete.py b/pypy/module/micronumpy/arrayimpl/concrete.py --

[pypy-commit] pypy ndarray-view: close branch about to be merged

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65063:963ba00d3e44 Date: 2013-06-28 15:37 +0300 http://bitbucket.org/pypy/pypy/changeset/963ba00d3e44/ Log:close branch about to be merged ___ pypy-commit mailing list [email protected] http

[pypy-commit] pypy ndarray-view: implement for zeroD arrays, skip for dtype scalars

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65061:e6bc534ed503 Date: 2013-06-28 15:34 +0300 http://bitbucket.org/pypy/pypy/changeset/e6bc534ed503/ Log:implement for zeroD arrays, skip for dtype scalars diff --git a/pypy/module/micronumpy/arrayimpl/scalar.py b/pypy/module/micronumpy

[pypy-commit] pypy ndarray-view: test scalars and ndarray, start to implement

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65057:78f0fb200c25 Date: 2013-06-28 13:05 +0300 http://bitbucket.org/pypy/pypy/changeset/78f0fb200c25/ Log:test scalars and ndarray, start to implement diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp

[pypy-commit] pypy ndarray-view: ndarray passes

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65060:c4938bea5968 Date: 2013-06-28 14:26 +0300 http://bitbucket.org/pypy/pypy/changeset/c4938bea5968/ Log:ndarray passes diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py --- a/pypy/module

[pypy-commit] pypy ndarray-view: implementation wip

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65059:c38b51152a62 Date: 2013-06-28 14:09 +0300 http://bitbucket.org/pypy/pypy/changeset/c38b51152a62/ Log:implementation wip diff --git a/pypy/module/micronumpy/arrayimpl/concrete.py b/pypy/module/micronumpy/arrayimpl/concrete.py --- a/p

[pypy-commit] pypy default: merge ndarray-view which implements view() for ndarrays and zeroD arrays, but not for scalars

2013-06-28 Thread mattip
Author: Matti Picus Branch: Changeset: r65064:0abc7abacba2 Date: 2013-06-28 15:39 +0300 http://bitbucket.org/pypy/pypy/changeset/0abc7abacba2/ Log:merge ndarray-view which implements view() for ndarrays and zeroD arrays, but not for scalars diff --git a/pypy/doc/whatsnew-head.rst b/

[pypy-commit] pypy ndarray-view: document branch

2013-06-28 Thread mattip
Author: Matti Picus Branch: ndarray-view Changeset: r65062:2a679231487a Date: 2013-06-28 15:36 +0300 http://bitbucket.org/pypy/pypy/changeset/2a679231487a/ Log:document branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc

[pypy-commit] pypy default: gah, the rbigint.fromstr factory in the previous form was not at all elidable,

2013-06-28 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r65065:5122bb09fd0e Date: 2013-06-28 14:48 +0200 http://bitbucket.org/pypy/pypy/changeset/5122bb09fd0e/ Log:gah, the rbigint.fromstr factory in the previous form was not at all elidable, due to the extra parser argument. Fix it, by split

[pypy-commit] pypy fastjson: handle another not-so-corner case: an object with spaces inside

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65069:31fc5dae889c Date: 2013-06-28 16:00 +0200 http://bitbucket.org/pypy/pypy/changeset/31fc5dae889c/ Log:handle another not-so-corner case: an object with spaces inside diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fa

[pypy-commit] pypy fastjson: bah, this line was moved by mistake by 89c55c007418. Also, rename the test to have a better name

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65067:4f40b6591af0 Date: 2013-06-28 15:49 +0200 http://bitbucket.org/pypy/pypy/changeset/4f40b6591af0/ Log:bah, this line was moved by mistake by 89c55c007418. Also, rename the test to have a better name diff --git a/pypy/module/_fast

[pypy-commit] pypy fastjson: test&fix for a trailing comma when parsing an array

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65070:3659a717d8e8 Date: 2013-06-28 16:11 +0200 http://bitbucket.org/pypy/pypy/changeset/3659a717d8e8/ Log:test&fix for a trailing comma when parsing an array diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/inter

[pypy-commit] pypy fastjson: merge heads

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65068:54438eb6c42c Date: 2013-06-28 15:49 +0200 http://bitbucket.org/pypy/pypy/changeset/54438eb6c42c/ Log:merge heads diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.py --- a/pypy/module/_fastjson

[pypy-commit] pypy fastjson: don't crash in this case

2013-06-28 Thread antocuni
Author: Antonio Cuni Branch: fastjson Changeset: r65066:6f79e542d94b Date: 2013-06-28 15:34 +0200 http://bitbucket.org/pypy/pypy/changeset/6f79e542d94b/ Log:don't crash in this case diff --git a/pypy/module/_fastjson/interp_decoder.py b/pypy/module/_fastjson/interp_decoder.py --- a/pypy/mod

[pypy-commit] pypy default: Fix translation, int%float is not RPython.

2013-06-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r65071:d77e4dd8ef04 Date: 2013-06-28 16:47 +0200 http://bitbucket.org/pypy/pypy/changeset/d77e4dd8ef04/ Log:Fix translation, int%float is not RPython. Don't use floats when integer arithmetics is possible, I'm sure there were possible

[pypy-commit] pypy default: Update this --- support for switch() with keyword arguments --- to the

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r65072:307d5501ecf6 Date: 2013-06-28 19:45 +0200 http://bitbucket.org/pypy/pypy/changeset/307d5501ecf6/ Log:Update this --- support for switch() with keyword arguments --- to the current version of greenlet-for-CPython. diff --git a/lib_pypy/gre

[pypy-commit] pypy default: If we are running on top of pypy, we import only _minimal_curses.

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r65073:b07a14bc6fb7 Date: 2013-06-28 19:59 +0200 http://bitbucket.org/pypy/pypy/changeset/b07a14bc6fb7/ Log:If we are running on top of pypy, we import only _minimal_curses. Don't try to fall back to _curses, because that's going to use cffi

[pypy-commit] pypy default: Attempt a large change, for now just by commenting out one line:

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r65074:a7e480ec1a78 Date: 2013-06-28 20:06 +0200 http://bitbucket.org/pypy/pypy/changeset/a7e480ec1a78/ Log:Attempt a large change, for now just by commenting out one line: disable the "validator" logic that deselects modules "silently" if

[pypy-commit] pypy default: Kill the ctypes (and ctypes_config_cache) version of syslog,

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r65081:f379c0cd7d76 Date: 2013-06-28 20:51 +0200 http://bitbucket.org/pypy/pypy/changeset/f379c0cd7d76/ Log:Kill the ctypes (and ctypes_config_cache) version of syslog, replace it with a cffi version. diff --git a/lib_pypy/ctypes_config_cache/sy

[pypy-commit] pypy default: Force cffi to build syslog here.

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r65082:27138960ee13 Date: 2013-06-28 20:54 +0200 http://bitbucket.org/pypy/pypy/changeset/27138960ee13/ Log:Force cffi to build syslog here. diff --git a/pypy/tool/release/package.py b/pypy/tool/release/package.py --- a/pypy/tool/release/package.py +++

[pypy-commit] pypy stm-gc-2: Old checkin

2013-06-28 Thread arigo
Author: Armin Rigo Branch: stm-gc-2 Changeset: r65075:516680f7722a Date: 2013-06-28 15:22 +0200 http://bitbucket.org/pypy/pypy/changeset/516680f7722a/ Log:Old checkin diff --git a/rpython/memory/gc/stmshared.py b/rpython/memory/gc/stmshared.py --- a/rpython/memory/gc/stmshared.py +++ b/rpyth

[pypy-commit] pypy stmgc-c4: A tool similar to pypy/tool/import_cffi.py.

2013-06-28 Thread arigo
Author: Armin Rigo Branch: stmgc-c4 Changeset: r65079:787c3e1796bd Date: 2013-06-28 19:01 +0200 http://bitbucket.org/pypy/pypy/changeset/787c3e1796bd/ Log:A tool similar to pypy/tool/import_cffi.py. diff --git a/rpython/translator/stm/import_stmgc.py b/rpython/translator/stm/import_stmgc.py

[pypy-commit] pypy stmgc-c4: Start a different branch in which to use the GC provided as C code

2013-06-28 Thread arigo
Author: Armin Rigo Branch: stmgc-c4 Changeset: r65076:f08bde0e50b4 Date: 2013-06-28 15:23 +0200 http://bitbucket.org/pypy/pypy/changeset/f08bde0e50b4/ Log:Start a different branch in which to use the GC provided as C code by stmgc/c4/. ___

[pypy-commit] pypy default: More tests and small fixes in 'grp'.

2013-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r65083:ae8a5b721a0d Date: 2013-06-28 21:16 +0200 http://bitbucket.org/pypy/pypy/changeset/ae8a5b721a0d/ Log:More tests and small fixes in 'grp'. diff --git a/lib_pypy/grp.py b/lib_pypy/grp.py --- a/lib_pypy/grp.py +++ b/lib_pypy/grp.py @@ -8,6 +8,7 @@

[pypy-commit] pypy py3k: In python3.2, the import statement is absolute,

2013-06-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r65084:d2cb525d01f4 Date: 2013-06-28 22:18 +0200 http://bitbucket.org/pypy/pypy/changeset/d2cb525d01f4/ Log:In python3.2, the import statement is absolute, but __import__() still tries both relative and absolute. Test and fix.

[pypy-commit] pypy py3k: Add co_kwonlyargcount to builtin code objects.

2013-06-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r65085:cd74547a33c5 Date: 2013-06-28 23:16 +0200 http://bitbucket.org/pypy/pypy/changeset/cd74547a33c5/ Log:Add co_kwonlyargcount to builtin code objects. This fixes inspect.getfullargspec(''.join), and IDLE can display tooltips for

[pypy-commit] pypy py3k: Port _tkinter-on-cffi to py3k.

2013-06-28 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r65086:e228809dd947 Date: 2013-06-28 23:20 +0200 http://bitbucket.org/pypy/pypy/changeset/e228809dd947/ Log:Port _tkinter-on-cffi to py3k. diff --git a/lib_pypy/_tkinter/__init__.py b/lib_pypy/_tkinter/__init__.py --- a/lib_pypy/_tkinter/_