[pypy-commit] pypy concurrent-marksweep: fix comments.

2011-10-11 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r47927:8b92fa0fa84b Date: 2011-10-10 19:32 +0200 http://bitbucket.org/pypy/pypy/changeset/8b92fa0fa84b/ Log:fix comments. diff --git a/pypy/rpython/memory/gc/concurrentms.py b/pypy/rpython/memory/gc/concurrentms.py --- a/pypy/rpytho

[pypy-commit] pypy concurrent-marksweep: Finalizers, first version.

2011-10-11 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r47928:2d3fb03f4ad4 Date: 2011-10-11 11:07 +0200 http://bitbucket.org/pypy/pypy/changeset/2d3fb03f4ad4/ Log:Finalizers, first version. diff --git a/pypy/doc/discussion/finalizer-order.rst b/pypy/doc/discussion/finalizer-order.rst --

[pypy-commit] pypy concurrent-marksweep: Simplify the linked list support.

2011-10-11 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r47929:014eb2e11cf5 Date: 2011-10-11 11:19 +0200 http://bitbucket.org/pypy/pypy/changeset/014eb2e11cf5/ Log:Simplify the linked list support. diff --git a/pypy/rpython/memory/gc/concurrentms.py b/pypy/rpython/memory/gc/concurrentms.

[pypy-commit] pypy string-promote-2: codewriter support for promoting strings

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47930:b2a87ed6e142 Date: 2011-10-09 22:23 +0200 http://bitbucket.org/pypy/pypy/changeset/b2a87ed6e142/ Log:codewriter support for promoting strings diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform

[pypy-commit] pypy string-promote-2: adapt to interfaces

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47931:846724c06889 Date: 2011-10-09 22:37 +0200 http://bitbucket.org/pypy/pypy/changeset/846724c06889/ Log:adapt to interfaces diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py --- a/pypy/jit/co

[pypy-commit] pypy string-promote-2: pyjitpl support, unfinished

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47932:e7fbc95d83be Date: 2011-10-11 11:48 +0200 http://bitbucket.org/pypy/pypy/changeset/e7fbc95d83be/ Log:pyjitpl support, unfinished diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py --- a/pyp

[pypy-commit] pypy string-promote-2: make the test check something

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47934:460767032152 Date: 2011-10-11 12:10 +0200 http://bitbucket.org/pypy/pypy/changeset/460767032152/ Log:make the test check something diff --git a/pypy/jit/metainterp/test/test_string.py b/pypy/jit/metainterp/test/test_strin

[pypy-commit] pypy string-promote-2: (fijal, arigo) make the test pass

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47933:71ea9a22ca51 Date: 2011-10-11 12:07 +0200 http://bitbucket.org/pypy/pypy/changeset/71ea9a22ca51/ Log:(fijal, arigo) make the test pass diff --git a/pypy/jit/metainterp/blackhole.py b/pypy/jit/metainterp/blackhole.py --- a/

[pypy-commit] pypy string-promote-2: try using string_promote for promoting lookups

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47935:1cd384c6c5e7 Date: 2011-10-11 12:11 +0200 http://bitbucket.org/pypy/pypy/changeset/1cd384c6c5e7/ Log:try using string_promote for promoting lookups diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobjec

[pypy-commit] pypy concurrent-marksweep: Rename the write_barrier in concurrentms to "deletion_barrier",

2011-10-11 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r47936:cbf2c361a9bb Date: 2011-10-11 14:41 +0200 http://bitbucket.org/pypy/pypy/changeset/cbf2c361a9bb/ Log:Rename the write_barrier in concurrentms to "deletion_barrier", as it has subtly different semantics about when it is

[pypy-commit] pypy concurrent-marksweep: Fix.

2011-10-11 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r47937:788fb4094a80 Date: 2011-10-11 15:40 +0200 http://bitbucket.org/pypy/pypy/changeset/788fb4094a80/ Log:Fix. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py --- a/pypy/translator/c/genc.py +++ b/pypy/translator

[pypy-commit] pypy concurrent-marksweep: Debugging help.

2011-10-11 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r47938:f76373db4645 Date: 2011-10-11 15:40 +0200 http://bitbucket.org/pypy/pypy/changeset/f76373db4645/ Log:Debugging help. diff --git a/pypy/rpython/lltypesystem/llmemory.py b/pypy/rpython/lltypesystem/llmemory.py --- a/pypy/rpytho

[pypy-commit] pypy default: Comment out these lines, as they were never of any use as far as I know.

2011-10-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r47939:0417bfa18751 Date: 2011-10-11 15:56 +0200 http://bitbucket.org/pypy/pypy/changeset/0417bfa18751/ Log:Comment out these lines, as they were never of any use as far as I know. diff --git a/pypy/annotation/classdef.py b/pypy/annotation/class

[pypy-commit] pypy concurrent-marksweep: Fixes, but always for test_transformed_gc

2011-10-11 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r47940:427dfd51ee6b Date: 2011-10-11 16:32 +0200 http://bitbucket.org/pypy/pypy/changeset/427dfd51ee6b/ Log:Fixes, but always for test_transformed_gc diff --git a/pypy/rpython/lltypesystem/llarena.py b/pypy/rpython/lltypesystem/llar

[pypy-commit] pypy default: make str.captitalize not do extra copies.

2011-10-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47941:c154a210d625 Date: 2011-10-11 12:33 -0400 http://bitbucket.org/pypy/pypy/changeset/c154a210d625/ Log:make str.captitalize not do extra copies. diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a/pypy/objspac

[pypy-commit] pypy default: merged upstream

2011-10-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47942:ed90c094b9ed Date: 2011-10-11 12:34 -0400 http://bitbucket.org/pypy/pypy/changeset/ed90c094b9ed/ Log:merged upstream diff --git a/pypy/annotation/classdef.py b/pypy/annotation/classdef.py --- a/pypy/annotation/classdef.py +++ b/pypy/annotation/c

[pypy-commit] pypy default: Skip unicode tests when filesystem encoding is not good enough

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r47943:c7c09446a462 Date: 2011-10-11 21:35 +0200 http://bitbucket.org/pypy/pypy/changeset/c7c09446a462/ Log:Skip unicode tests when filesystem encoding is not good enough diff --git a/pypy/module/posix/test/test_posix2.py b/pypy/module/posix/

[pypy-commit] extradoc extradoc: some more info

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r3923:478ec0e7dd1a Date: 2011-10-11 22:58 +0200 http://bitbucket.org/pypy/extradoc/changeset/478ec0e7dd1a/ Log:some more info diff --git a/talk/pycon2012/tutorial.rst b/talk/pycon2012/tutorial.rst --- a/talk/pycon2012/tutorial.rst +++ b/

[pypy-commit] pypy default: (fijal, alex) Move map() from interp-level to app-level. fijal benchmarked this as between a 2x speedup and 10% slowdown. Apparently the JIT is kind of good.

2011-10-11 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r47944:cc47e5aeff35 Date: 2011-10-11 17:15 -0400 http://bitbucket.org/pypy/pypy/changeset/cc47e5aeff35/ Log:(fijal, alex) Move map() from interp-level to app-level. fijal benchmarked this as between a 2x speedup and 10% slowdown. Apparen

[pypy-commit] pypy py3k: Initiate a py3k branch. Nothing works here, the 3.2 stdlib is missing.

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47945:186690e4ab43 Date: 2011-10-11 22:42 +0200 http://bitbucket.org/pypy/pypy/changeset/186690e4ab43/ Log:Initiate a py3k branch. Nothing works here, the 3.2 stdlib is missing. diff --git a/pypy/module/sys/version.py b/pypy/modul

[pypy-commit] pypy py3k: Add a modifiable copy of opcode.py

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47947:838f7aaf8802 Date: 2011-10-11 23:12 +0200 http://bitbucket.org/pypy/pypy/changeset/838f7aaf8802/ Log:Add a modifiable copy of opcode.py diff --git a/lib-python/3.2/opcode.py b/lib-python/modified-3.2/opcode.py copy from lib-python/3

[pypy-commit] pypy py3k: These SLICE opcodes don't exist anymore

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47948:3cb89066c84a Date: 2011-10-11 23:13 +0200 http://bitbucket.org/pypy/pypy/changeset/3cb89066c84a/ Log:These SLICE opcodes don't exist anymore diff --git a/pypy/tool/stdlib_opcode.py b/pypy/tool/stdlib_opcode.py --- a/pypy/tool/stdlib

[pypy-commit] pypy py3k: Remove stack effects for deleted opcodes.

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47949:4f33a53d0e6c Date: 2011-10-11 23:20 +0200 http://bitbucket.org/pypy/pypy/changeset/4f33a53d0e6c/ Log:Remove stack effects for deleted opcodes. (I'll add the missing ones when the compiler emits them) Restore 2 pypy-specific o

[pypy-commit] extradoc extradoc: write one more thing

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r3924:c499dbf497df Date: 2011-10-11 23:32 +0200 http://bitbucket.org/pypy/extradoc/changeset/c499dbf497df/ Log:write one more thing diff --git a/blog/draft/numpy-statups-update.rst b/blog/draft/numpy-statups-update.rst --- a/blog/draft/

[pypy-commit] pypy py3k: Remove all references to the __getslice__ methods and opcodes

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47950:459148c0f080 Date: 2011-10-11 23:41 +0200 http://bitbucket.org/pypy/pypy/changeset/459148c0f080/ Log:Remove all references to the __getslice__ methods and opcodes space.getslice() still exists, and delegates to getitem. diff

[pypy-commit] pypy py3k: A slightly better error message when an opcode is missing

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47951:a0af6c1d5591 Date: 2011-10-11 23:45 +0200 http://bitbucket.org/pypy/pypy/changeset/a0af6c1d5591/ Log:A slightly better error message when an opcode is missing in the "stack effect" map. diff --git a/pypy/interpreter/astcompi

[pypy-commit] pypy py3k: update ast for ClassDef statement

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47952:773f10116499 Date: 2011-10-11 23:51 +0200 http://bitbucket.org/pypy/pypy/changeset/773f10116499/ Log:update ast for ClassDef statement diff --git a/pypy/interpreter/astcompiler/ast.py b/pypy/interpreter/astcompiler/ast.py --- a/pyp

[pypy-commit] pypy py3k: New class definition protocol: __build_class__, __prepare__

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47953:444ebc97d236 Date: 2011-10-12 00:13 +0200 http://bitbucket.org/pypy/pypy/changeset/444ebc97d236/ Log:New class definition protocol: __build_class__, __prepare__ For now it's not possible to use it, the grammar does not allow

[pypy-commit] pypy py3k: There is only one True Division.

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47954:4c46f703ae28 Date: 2011-10-12 00:16 +0200 http://bitbucket.org/pypy/pypy/changeset/4c46f703ae28/ Log:There is only one True Division. diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astcompiler/codegen.py --

[pypy-commit] pypy string-promote-2: fix test

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47955:749638fb1863 Date: 2011-10-12 00:32 +0200 http://bitbucket.org/pypy/pypy/changeset/749638fb1863/ Log:fix test diff --git a/pypy/jit/codewriter/test/test_jtransform.py b/pypy/jit/codewriter/test/test_jtransform.py --- a/py

[pypy-commit] pypy string-promote-2: explain XXX

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47956:9b85dbd68f25 Date: 2011-10-12 00:33 +0200 http://bitbucket.org/pypy/pypy/changeset/9b85dbd68f25/ Log:explain XXX diff --git a/pypy/jit/codewriter/jtransform.py b/pypy/jit/codewriter/jtransform.py --- a/pypy/jit/codewriter

[pypy-commit] pypy string-promote-2: explain

2011-10-11 Thread fijal
Author: Maciej Fijalkowski Branch: string-promote-2 Changeset: r47957:944836e6101d Date: 2011-10-12 00:34 +0200 http://bitbucket.org/pypy/pypy/changeset/944836e6101d/ Log:explain diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py --- a/pypy/jit/metainterp/pyjitpl.py

[pypy-commit] pypy py3k: Copy Grammar2.7 into Grammar3.2. No change so far

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47958:cf11d95048c8 Date: 2011-10-12 01:13 +0200 http://bitbucket.org/pypy/pypy/changeset/cf11d95048c8/ Log:Copy Grammar2.7 into Grammar3.2. No change so far diff --git a/pypy/interpreter/pyparser/data/Grammar2.7 b/pypy/interpreter/pypars

[pypy-commit] pypy py3k: Fix grammar for class statement, and allow classes to have bases :-/

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47959:529d4c4eecfd Date: 2011-10-12 01:14 +0200 http://bitbucket.org/pypy/pypy/changeset/529d4c4eecfd/ Log:Fix grammar for class statement, and allow classes to have bases :-/ diff --git a/pypy/interpreter/pyparser/data/Grammar3.2 b/pypy

[pypy-commit] pypy py3k: Add FunctionType.__globals__, and update some tests because "import new" fails with py3k.

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47960:b9757b3532e9 Date: 2011-10-12 01:15 +0200 http://bitbucket.org/pypy/pypy/changeset/b9757b3532e9/ Log:Add FunctionType.__globals__, and update some tests because "import new" fails with py3k. diff --git a/pypy/interpreter/tes

[pypy-commit] pypy py3k: Remove the exec statement, and try to make more tests pass

2011-10-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r47961:ffc302d9fec2 Date: 2011-10-12 01:44 +0200 http://bitbucket.org/pypy/pypy/changeset/ffc302d9fec2/ Log:Remove the exec statement, and try to make more tests pass diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interpre