[pypy-commit] pypy default: simplify sqlite cursor locking

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62123:92298f0e65e7 Date: 2013-03-06 02:35 -0500 http://bitbucket.org/pypy/pypy/changeset/92298f0e65e7/ Log:simplify sqlite cursor locking diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @

[pypy-commit] pypy default: mangle these implementation-specific function names

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62124:c02d9c36ffa2 Date: 2013-03-06 02:40 -0500 http://bitbucket.org/pypy/pypy/changeset/c02d9c36ffa2/ Log:mangle these implementation-specific function names diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/l

[pypy-commit] pypy default: additional small cleanups for sqlite

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62125:51cce4632d7c Date: 2013-03-06 02:56 -0500 http://bitbucket.org/pypy/pypy/changeset/51cce4632d7c/ Log:additional small cleanups for sqlite diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite

[pypy-commit] pypy py3k: merge default

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: py3k Changeset: r62126:878a364bd84f Date: 2013-03-06 03:45 -0500 http://bitbucket.org/pypy/pypy/changeset/878a364bd84f/ Log:merge default diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -291,7 +291

[pypy-commit] pypy default: test and fix for sqlite check_cursor behavior

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62127:cdcf1ad3fcbe Date: 2013-03-06 03:57 -0500 http://bitbucket.org/pypy/pypy/changeset/cdcf1ad3fcbe/ Log:test and fix for sqlite check_cursor behavior diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pyp

[pypy-commit] pypy py3k-memoryview: Temporarily rename array's itemsize to itemsize_ to work around an annotator bug.

2013-03-06 Thread Manuel Jacob
Author: Manuel Jacob Branch: py3k-memoryview Changeset: r62128:45b480dc2f6d Date: 2013-03-06 10:49 +0100 http://bitbucket.org/pypy/pypy/changeset/45b480dc2f6d/ Log:Temporarily rename array's itemsize to itemsize_ to work around an annotator bug. diff --git a/pypy/module/array/interp_a

[pypy-commit] pypy py3k-memoryview: Python 3.2 supports tolist() only on byte memoryviews.

2013-03-06 Thread Manuel Jacob
Author: Manuel Jacob Branch: py3k-memoryview Changeset: r62129:b1c812a69e23 Date: 2013-03-06 11:54 +0100 http://bitbucket.org/pypy/pypy/changeset/b1c812a69e23/ Log:Python 3.2 supports tolist() only on byte memoryviews. diff --git a/pypy/module/__builtin__/interp_memoryview.py b/pypy/module/_

[pypy-commit] pypy py3k-memoryview: Mark 'format' and 'itemsize' as immutable fields.

2013-03-06 Thread Manuel Jacob
Author: Manuel Jacob Branch: py3k-memoryview Changeset: r62130:ac19e2710459 Date: 2013-03-06 11:57 +0100 http://bitbucket.org/pypy/pypy/changeset/ac19e2710459/ Log:Mark 'format' and 'itemsize' as immutable fields. diff --git a/pypy/interpreter/buffer.py b/pypy/interpreter/buffer.py --- a/pypy

[pypy-commit] pypy jitframe-on-heap: fixes for frame_realloc

2013-03-06 Thread bivab
Author: David Schneider Branch: jitframe-on-heap Changeset: r62131:aea384698a85 Date: 2013-03-06 15:09 +0100 http://bitbucket.org/pypy/pypy/changeset/aea384698a85/ Log:fixes for frame_realloc diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/rpyt

[pypy-commit] extradoc extradoc: rework numpypy namespace changes (bdk)

2013-03-06 Thread mattip
Author: mattip Branch: extradoc Changeset: r4952:b9c938b296b6 Date: 2013-03-06 18:36 +0200 http://bitbucket.org/pypy/extradoc/changeset/b9c938b296b6/ Log:rework numpypy namespace changes (bdk) diff --git a/blog/draft/numpy-status-update-6.rst b/blog/draft/numpy-status-update-6.rst --- a/blo

[pypy-commit] pypy jitframe-on-heap: fix the test

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62132:195a90abd218 Date: 2013-03-06 21:00 +0200 http://bitbucket.org/pypy/pypy/changeset/195a90abd218/ Log:fix the test diff --git a/rpython/jit/backend/arm/test/test_runner.py b/rpython/jit/backend/arm/test/test_runner.py ---

[pypy-commit] lang-smalltalk default: Switched from a context return based implementation to Exception Raising returns.

2013-03-06 Thread lwassermann
Author: Lars Wassermann Branch: Changeset: r121:079f6dd1e62f Date: 2013-03-05 17:14 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/079f6dd1e62f/ Log:Switched from a context return based implementation to Exception Raising returns. This way, contexts are not manipulated duri

[pypy-commit] lang-smalltalk default: (cfbolz, lwassermann): changed the version checker to test for 64bit images only on 64bit systems

2013-03-06 Thread lwassermann
Author: Lars Wassermann Branch: Changeset: r124:d6155cf750e0 Date: 2013-03-06 21:08 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/d6155cf750e0/ Log:(cfbolz, lwassermann): changed the version checker to test for 64bit images only on 64bit systems diff --git a/spyvm/squeaki

[pypy-commit] lang-smalltalk default: removed the mark-variable by saving the needed information prior to calling c-loop

2013-03-06 Thread lwassermann
Author: Lars Wassermann Branch: Changeset: r122:ea61821e69dd Date: 2013-03-06 21:03 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/ea61821e69dd/ Log:removed the mark-variable by saving the needed information prior to calling c-loop diff --git a/spyvm/interpreter.py b/spyvm

[pypy-commit] lang-smalltalk default: (tfel, lwassermann): updated the targettinybenchsmalltalk to reflect the jit test changes needed because of interpreter restructuring

2013-03-06 Thread lwassermann
Author: Lars Wassermann Branch: Changeset: r125:2f7194263d4b Date: 2013-03-06 21:10 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/2f7194263d4b/ Log:(tfel, lwassermann): updated the targettinybenchsmalltalk to reflect the jit test changes needed because of interpreter restr

[pypy-commit] lang-smalltalk default: (cfbolz, lwassermann): added attribute information to the model classes to prevent the typechecker from pulling variables up

2013-03-06 Thread lwassermann
Author: Lars Wassermann Branch: Changeset: r123:cb75ad6978de Date: 2013-03-06 21:06 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/cb75ad6978de/ Log:(cfbolz, lwassermann): added attribute information to the model classes to prevent the typechecker from pulling variables up

[pypy-commit] lang-smalltalk default: removed the recursion increasing lines from the test-cases, because they cause segfaults

2013-03-06 Thread lwassermann
Author: Lars Wassermann Branch: Changeset: r126:c7a6275e8187 Date: 2013-03-06 21:11 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/c7a6275e8187/ Log:removed the recursion increasing lines from the test-cases, because they cause segfaults diff --git a/spyvm/test/jit.py b/sp

[pypy-commit] lang-smalltalk default: (cfbolz, lwassermann): Added type-checks in several places to pacify pypy. In most cases, the program will abort, if the wrong types are supplied.

2013-03-06 Thread lwassermann
Author: Lars Wassermann Branch: Changeset: r127:d0d2369575cf Date: 2013-03-06 21:14 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/d0d2369575cf/ Log:(cfbolz, lwassermann): Added type-checks in several places to pacify pypy. In most cases, the program will abort, if the wron

[pypy-commit] pypy default: cleanup _sqlite3.Statement

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62133:45bbcccf99e5 Date: 2013-03-06 15:25 -0500 http://bitbucket.org/pypy/pypy/changeset/45bbcccf99e5/ Log:cleanup _sqlite3.Statement diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -2

[pypy-commit] pypy py3k: merge default

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: py3k Changeset: r62134:36a3c5c18e36 Date: 2013-03-06 15:35 -0500 http://bitbucket.org/pypy/pypy/changeset/36a3c5c18e36/ Log:merge default diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -244,8 +244

[pypy-commit] pypy default: redundant call to encode

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62135:5b25d91f1f35 Date: 2013-03-06 15:40 -0500 http://bitbucket.org/pypy/pypy/changeset/5b25d91f1f35/ Log:redundant call to encode diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -985

[pypy-commit] pypy jitframe-on-heap: fix

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62136:1acd1abdb117 Date: 2013-03-06 22:53 +0200 http://bitbucket.org/pypy/pypy/changeset/1acd1abdb117/ Log:fix diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/rpython/jit/backend/a

[pypy-commit] lang-smalltalk default: Added class attribute information to the ContextPartShadow class-chain.

2013-03-06 Thread lwassermann
Author: Lars Wassermann Branch: Changeset: r128:0e0ba48f9e2a Date: 2013-03-06 21:54 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/0e0ba48f9e2a/ Log:Added class attribute information to the ContextPartShadow class- chain. Renamed _w_method to __w_method to circumvent outsid

[pypy-commit] pypy jitframe-on-heap: disable the debug

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62137:523baa10ad2f Date: 2013-03-06 22:55 +0200 http://bitbucket.org/pypy/pypy/changeset/523baa10ad2f/ Log:disable the debug diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython

[pypy-commit] pypy jitframe-on-heap: this guy can go away (a better version is in llsupport)

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62138:46ce7f2e3cb9 Date: 2013-03-06 23:00 +0200 http://bitbucket.org/pypy/pypy/changeset/46ce7f2e3cb9/ Log:this guy can go away (a better version is in llsupport) diff --git a/rpython/jit/backend/arm/test/test_gc_integration.py

[pypy-commit] pypy jitframe-on-heap: fix imporrt

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62139:b6e3c93df3fd Date: 2013-03-06 23:06 +0200 http://bitbucket.org/pypy/pypy/changeset/b6e3c93df3fd/ Log:fix imporrt diff --git a/rpython/jit/backend/arm/test/test_trace_operations.py b/rpython/jit/backend/arm/test/test_trace

[pypy-commit] pypy jitframe-on-heap: another fix

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62140:20c676368ee9 Date: 2013-03-06 23:12 +0200 http://bitbucket.org/pypy/pypy/changeset/20c676368ee9/ Log:another fix diff --git a/rpython/jit/backend/arm/test/test_assembler.py b/rpython/jit/backend/arm/test/test_assembler.py

[pypy-commit] pypy missing-os-functions: Use platform.configure() to detect the presence of most posix functions.

2013-03-06 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: missing-os-functions Changeset: r62141:873c7be6cbfe Date: 2013-03-06 22:28 +0100 http://bitbucket.org/pypy/pypy/changeset/873c7be6cbfe/ Log:Use platform.configure() to detect the presence of most posix functions. The posix module now relie

[pypy-commit] pypy default: cleanup _sqlite3.Statement.set_params

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62142:42054fe35ff6 Date: 2013-03-06 16:29 -0500 http://bitbucket.org/pypy/pypy/changeset/42054fe35ff6/ Log:cleanup _sqlite3.Statement.set_params diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlit

[pypy-commit] pypy py3k: merge default

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: py3k Changeset: r62143:f4c340c0fdad Date: 2013-03-06 16:31 -0500 http://bitbucket.org/pypy/pypy/changeset/f4c340c0fdad/ Log:merge default diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -804,7 +804

[pypy-commit] pypy default: more small cleanups for sqlite

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62144:a511e6de3ae1 Date: 2013-03-06 16:45 -0500 http://bitbucket.org/pypy/pypy/changeset/a511e6de3ae1/ Log:more small cleanups for sqlite diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @

[pypy-commit] pypy jitframe-on-heap: try to write a better test

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62145:11b4e036be3e Date: 2013-03-06 23:52 +0200 http://bitbucket.org/pypy/pypy/changeset/11b4e036be3e/ Log:try to write a better test diff --git a/rpython/jit/backend/arm/runner.py b/rpython/jit/backend/arm/runner.py --- a/rpyt

[pypy-commit] pypy jitframe-on-heap: fix the test

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62146:aef7ed124ee1 Date: 2013-03-07 00:01 +0200 http://bitbucket.org/pypy/pypy/changeset/aef7ed124ee1/ Log:fix the test diff --git a/rpython/jit/backend/llsupport/test/test_gc_integration.py b/rpython/jit/backend/llsupport/test

[pypy-commit] pypy default: only call sqlite3_{finalize, reset} if not already called

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62147:60a6a2e99263 Date: 2013-03-06 17:04 -0500 http://bitbucket.org/pypy/pypy/changeset/60a6a2e99263/ Log:only call sqlite3_{finalize,reset} if not already called diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py ++

[pypy-commit] pypy jitframe-on-heap: store the loop for debugging

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62148:ea68db3f9825 Date: 2013-03-07 00:04 +0200 http://bitbucket.org/pypy/pypy/changeset/ea68db3f9825/ Log:store the loop for debugging diff --git a/rpython/jit/backend/llsupport/test/test_regalloc_integration.py b/rpython/jit/

[pypy-commit] pypy jitframe-on-heap: oops

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62149:f30e3aaca824 Date: 2013-03-07 00:33 +0200 http://bitbucket.org/pypy/pypy/changeset/f30e3aaca824/ Log:oops diff --git a/rpython/jit/backend/llsupport/test/test_gc_integration.py b/rpython/jit/backend/llsupport/test/test_gc

[pypy-commit] pypy jitframe-on-heap: one more

2013-03-06 Thread fijal
Author: Maciej Fijalkowski Branch: jitframe-on-heap Changeset: r62150:f635eff12548 Date: 2013-03-07 00:36 +0200 http://bitbucket.org/pypy/pypy/changeset/f635eff12548/ Log:one more diff --git a/rpython/jit/backend/llsupport/test/test_gc_integration.py b/rpython/jit/backend/llsupport/test/tes

[pypy-commit] pypy py3k: Remove py3k attribute from base object space. It's not necessary anymore because the flow object space is independent from the interpreter now.

2013-03-06 Thread Manuel Jacob
Author: Manuel Jacob Branch: py3k Changeset: r62152:8b8e895b4fcb Date: 2013-03-07 00:53 +0100 http://bitbucket.org/pypy/pypy/changeset/8b8e895b4fcb/ Log:Remove py3k attribute from base object space. It's not necessary anymore because the flow object space is independent from the

[pypy-commit] pypy py3k-memoryview: Only check for TypeError here.

2013-03-06 Thread Manuel Jacob
Author: Manuel Jacob Branch: py3k-memoryview Changeset: r62151:e444775753c6 Date: 2013-03-06 12:51 +0100 http://bitbucket.org/pypy/pypy/changeset/e444775753c6/ Log:Only check for TypeError here. diff --git a/pypy/module/__builtin__/test/test_buffer.py b/pypy/module/__builtin__/test/test_buff

[pypy-commit] pypy default: these are redundant

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62153:47b22d98ea8d Date: 2013-03-06 19:11 -0500 http://bitbucket.org/pypy/pypy/changeset/47b22d98ea8d/ Log:these are redundant diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqlite3.py @@ -1070,7 +

[pypy-commit] pypy default: check return value of sqlite3_bind_xxx

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62154:e14333f7fb32 Date: 2013-03-06 19:22 -0500 http://bitbucket.org/pypy/pypy/changeset/e14333f7fb32/ Log:check return value of sqlite3_bind_xxx diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy/_sqli

[pypy-commit] pypy default: improve sqlite parameter type checking, test

2013-03-06 Thread bdkearns
Author: Brian Kearns Branch: Changeset: r62155:f22a27ebaeed Date: 2013-03-06 19:52 -0500 http://bitbucket.org/pypy/pypy/changeset/f22a27ebaeed/ Log:improve sqlite parameter type checking, test diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite3.py --- a/lib_pypy/_sqlite3.py +++ b/lib_pypy

[pypy-commit] pypy default: Fix struct definition in ll_termios.

2013-03-06 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r62157:71045d55f113 Date: 2013-03-07 07:28 +0100 http://bitbucket.org/pypy/pypy/changeset/71045d55f113/ Log:Fix struct definition in ll_termios. diff --git a/rpython/rtyper/module/ll_termios.py b/rpython/rtyper/module/ll_termios.py --- a/rpython/rtype

[pypy-commit] pypy default: Random cleanups.

2013-03-06 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r62156:9cec3981c9a2 Date: 2013-03-07 07:15 +0100 http://bitbucket.org/pypy/pypy/changeset/9cec3981c9a2/ Log:Random cleanups. diff --git a/rpython/memory/gctransform/framework.py b/rpython/memory/gctransform/framework.py --- a/rpython/memory/gctransfor

[pypy-commit] pypy py3k: simplify

2013-03-06 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r62158:e569a7d9ad90 Date: 2013-03-06 23:42 -0800 http://bitbucket.org/pypy/pypy/changeset/e569a7d9ad90/ Log:simplify diff --git a/pypy/module/imp/test/support.py b/pypy/module/imp/test/support.py --- a/pypy/module/imp/test/support.py +++ b/pypy/m