[pypy-commit] pypy better-enforceargs: close to-be-merged branch

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: better-enforceargs Changeset: r56119:33537b106ac1 Date: 2012-07-18 09:37 +0200 http://bitbucket.org/pypy/pypy/changeset/33537b106ac1/ Log:close to-be-merged branch ___ pypy-commit mailing list [email protected] htt

[pypy-commit] pypy default: merge the better-enforceargs branch, which add actual typechecking when not we_are_translated()

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r56120:789259d7be1a Date: 2012-07-18 10:49 +0200 http://bitbucket.org/pypy/pypy/changeset/789259d7be1a/ Log:merge the better-enforceargs branch, which add actual typechecking when not we_are_translated() diff --git a/pypy/rlib/objectmodel.py b

[pypy-commit] pypy default: fix test_whatsnew.py

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r56121:4779d6f8b661 Date: 2012-07-18 10:56 +0200 http://bitbucket.org/pypy/pypy/changeset/4779d6f8b661/ Log:fix test_whatsnew.py diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whats

[pypy-commit] pypy default: update the docstring

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r56123:2f534f9ab6a6 Date: 2012-07-18 11:39 +0200 http://bitbucket.org/pypy/pypy/changeset/2f534f9ab6a6/ Log:update the docstring diff --git a/pypy/rlib/objectmodel.py b/pypy/rlib/objectmodel.py --- a/pypy/rlib/objectmodel.py +++ b/pypy/rlib/objectmode

[pypy-commit] pypy pypy-in-a-box: try to add some minimal embedding API

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56124:d5cbfd2fe88a Date: 2012-07-18 12:06 +0200 http://bitbucket.org/pypy/pypy/changeset/d5cbfd2fe88a/ Log:try to add some minimal embedding API diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/p

[pypy-commit] pypy pypy-in-a-box: an experiment with secondary entrypoints

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56125:9c710fd98326 Date: 2012-07-18 12:08 +0200 http://bitbucket.org/pypy/pypy/changeset/9c710fd98326/ Log:an experiment with secondary entrypoints diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py --- a/

[pypy-commit] pypy virtual-arguments: make sure we don't pass a negative to new_array in the jit - in the process of fixing the jit

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56126:b2e4012b36c4 Date: 2012-07-18 13:49 +0200 http://bitbucket.org/pypy/pypy/changeset/b2e4012b36c4/ Log:make sure we don't pass a negative to new_array in the jit - in the process of fixing the jit diff --git a/pypy/

[pypy-commit] pypy virtual-arguments: make the JIT explode if we try to push negative for alloc_and_set

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56127:1196e6e8fd85 Date: 2012-07-18 13:57 +0200 http://bitbucket.org/pypy/pypy/changeset/1196e6e8fd85/ Log:make the JIT explode if we try to push negative for alloc_and_set diff --git a/pypy/interpreter/argument.py b/pypy/inter

[pypy-commit] pypy pypy-in-a-box: oops, add entry points to required

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56128:9a085a677d27 Date: 2012-07-18 14:11 +0200 http://bitbucket.org/pypy/pypy/changeset/9a085a677d27/ Log:oops, add entry points to required diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypy

[pypy-commit] extradoc extradoc: clarify this point

2012-07-18 Thread bivab
Author: David Schneider Branch: extradoc Changeset: r4306:f2d396882dde Date: 2012-07-18 11:04 +0200 http://bitbucket.org/pypy/extradoc/changeset/f2d396882dde/ Log:clarify this point diff --git a/talk/vmil2012/paper.tex b/talk/vmil2012/paper.tex --- a/talk/vmil2012/paper.tex +++ b/talk/vmil20

[pypy-commit] extradoc extradoc: (cfbolz, bivab): construct an example to use in the paper

2012-07-18 Thread bivab
Author: David Schneider Branch: extradoc Changeset: r4307:a337326930df Date: 2012-07-18 14:12 +0200 http://bitbucket.org/pypy/extradoc/changeset/a337326930df/ Log:(cfbolz, bivab): construct an example to use in the paper diff --git a/talk/vmil2012/example/example.py b/talk/vmil2012/example/e

[pypy-commit] pypy virtual-arguments: hack differently - disallow negative multiplication of array alltogether

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56129:472a414c4207 Date: 2012-07-18 14:31 +0200 http://bitbucket.org/pypy/pypy/changeset/472a414c4207/ Log:hack differently - disallow negative multiplication of array alltogether diff --git a/pypy/annotation/binaryop.p

[pypy-commit] pypy virtual-arguments: first fix for the >= 0

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56130:9f8c202f2d28 Date: 2012-07-18 14:36 +0200 http://bitbucket.org/pypy/pypy/changeset/9f8c202f2d28/ Log:first fix for the >= 0 diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigint.py +++ b/pypy/rl

[pypy-commit] pypy virtual-arguments: another assert

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56131:8fcdceac730e Date: 2012-07-18 14:42 +0200 http://bitbucket.org/pypy/pypy/changeset/8fcdceac730e/ Log:another assert diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace

[pypy-commit] pypy rpython-unicode-formatting: a branch where to add support for % formatting to unicode strings in rpython

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56132:61073e926d0b Date: 2012-07-18 11:40 +0200 http://bitbucket.org/pypy/pypy/changeset/61073e926d0b/ Log:a branch where to add support for % formatting to unicode strings in rpython diff --git a/pypy/rlib/test/test

[pypy-commit] pypy rpython-unicode-formatting: correctly support u'%s' % my_unicode_string

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56135:02b40b853dc6 Date: 2012-07-18 14:09 +0200 http://bitbucket.org/pypy/pypy/changeset/02b40b853dc6/ Log:correctly support u'%s' % my_unicode_string diff --git a/pypy/rpython/lltypesystem/rstr.py b/pypy/rpython/lltypesyst

[pypy-commit] pypy rpython-unicode-formatting: teach the annotator about unicode %

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56133:d40d768e29d7 Date: 2012-07-18 12:11 +0200 http://bitbucket.org/pypy/pypy/changeset/d40d768e29d7/ Log:teach the annotator about unicode % diff --git a/pypy/annotation/binaryop.py b/pypy/annotation/binaryop.py --- a/pypy

[pypy-commit] pypy rpython-unicode-formatting: kill this test; it has no chances to work on ootype even for simple strings, so there is no point in trying to support unicode

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56140:9207d2389125 Date: 2012-07-18 14:41 +0200 http://bitbucket.org/pypy/pypy/changeset/9207d2389125/ Log:kill this test; it has no chances to work on ootype even for simple strings, so there is no point in trying to

[pypy-commit] pypy rpython-unicode-formatting: add support for unicode formatting in the rtyper: so far lltype only, and it probably does not work as intended when using %s on a unicode string

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56134:4cce4c57a4c6 Date: 2012-07-18 13:01 +0200 http://bitbucket.org/pypy/pypy/changeset/4cce4c57a4c6/ Log:add support for unicode formatting in the rtyper: so far lltype only, and it probably does not work as intende

[pypy-commit] pypy rpython-unicode-formatting: use the official way to convert string to unicode

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56136:de4658c12f2b Date: 2012-07-18 14:10 +0200 http://bitbucket.org/pypy/pypy/changeset/de4658c12f2b/ Log:use the official way to convert string to unicode diff --git a/pypy/rpython/lltypesystem/rstr.py b/pypy/rpython/llty

[pypy-commit] pypy rpython-unicode-formatting: failing test and fix

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56137:e6b358af9c93 Date: 2012-07-18 14:28 +0200 http://bitbucket.org/pypy/pypy/changeset/e6b358af9c93/ Log:failing test and fix diff --git a/pypy/rpython/rpbc.py b/pypy/rpython/rpbc.py --- a/pypy/rpython/rpbc.py +++ b/pypy/r

[pypy-commit] pypy rpython-unicode-formatting: implement unicode formatting also for ootype; one failing test left

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56138:9d6a1809e202 Date: 2012-07-18 14:35 +0200 http://bitbucket.org/pypy/pypy/changeset/9d6a1809e202/ Log:implement unicode formatting also for ootype; one failing test left diff --git a/pypy/rpython/ootypesystem/rstr.py b

[pypy-commit] pypy rpython-unicode-formatting: add proper support to (unicode %s unicode) formatting to ootype

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56139:0532b325c29c Date: 2012-07-18 14:40 +0200 http://bitbucket.org/pypy/pypy/changeset/0532b325c29c/ Log:add proper support to (unicode %s unicode) formatting to ootype diff --git a/pypy/rpython/ootypesystem/rstr.py b/pyp

[pypy-commit] pypy rpython-unicode-formatting: document string formatting

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56141:1ff292ef937e Date: 2012-07-18 14:51 +0200 http://bitbucket.org/pypy/pypy/changeset/1ff292ef937e/ Log:document string formatting diff --git a/pypy/doc/coding-guide.rst b/pypy/doc/coding-guide.rst --- a/pypy/doc/coding-g

[pypy-commit] pypy virtual-arguments: few more hits

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56142:5f1c0d3ad87f Date: 2012-07-18 14:52 +0200 http://bitbucket.org/pypy/pypy/changeset/5f1c0d3ad87f/ Log:few more hits diff --git a/pypy/objspace/std/specialisedtupleobject.py b/pypy/objspace/std/specialisedtupleobject.py --

[pypy-commit] pypy pypy-in-a-box: rename the function

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56143:9af0c40be623 Date: 2012-07-18 15:03 +0200 http://bitbucket.org/pypy/pypy/changeset/9af0c40be623/ Log:rename the function diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py --- a/pypy/objspace/std/emb

[pypy-commit] pypy virtual-arguments: another assert

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56145:7c94b4420a32 Date: 2012-07-18 15:06 +0200 http://bitbucket.org/pypy/pypy/changeset/7c94b4420a32/ Log:another assert diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigint.py +++ b/pypy/rlib/rbigi

[pypy-commit] pypy pypy-in-a-box: rage on python closures

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56144:38ebdf95b92c Date: 2012-07-18 15:05 +0200 http://bitbucket.org/pypy/pypy/changeset/38ebdf95b92c/ Log:rage on python closures diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py --- a/pypy/objspace/std

[pypy-commit] pypy pypy-in-a-box: oops

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56147:b2dc8757cd36 Date: 2012-07-18 15:13 +0200 http://bitbucket.org/pypy/pypy/changeset/b2dc8757cd36/ Log:oops diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py --- a/pypy/objspace/std/embedding.py +++ b

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56146:f4c7930e7e9f Date: 2012-07-18 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/f4c7930e7e9f/ Log:another one diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py --- a/pypy/objspac

[pypy-commit] extradoc extradoc: start writing about guards <-> bridges in the backend

2012-07-18 Thread bivab
Author: David Schneider Branch: extradoc Changeset: r4308:7fc41f390596 Date: 2012-07-18 15:14 +0200 http://bitbucket.org/pypy/extradoc/changeset/7fc41f390596/ Log:start writing about guards <-> bridges in the backend diff --git a/talk/vmil2012/paper.tex b/talk/vmil2012/paper.tex --- a/talk/v

[pypy-commit] pypy pypy-in-a-box: a missing cast

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56148:3acdb894937d Date: 2012-07-18 15:19 +0200 http://bitbucket.org/pypy/pypy/changeset/3acdb894937d/ Log:a missing cast diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py --- a/pypy/objspace/std/embeddin

[pypy-commit] pypy virtual-arguments: and another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56149:c315c21b31d8 Date: 2012-07-18 15:20 +0200 http://bitbucket.org/pypy/pypy/changeset/c315c21b31d8/ Log:and another one diff --git a/pypy/module/_io/interp_bytesio.py b/pypy/module/_io/interp_bytesio.py --- a/pypy/module/_i

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56150:83240dd2b311 Date: 2012-07-18 15:27 +0200 http://bitbucket.org/pypy/pypy/changeset/83240dd2b311/ Log:another one diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listo

[pypy-commit] pypy virtual-arguments: some more

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56151:b33078c40d3d Date: 2012-07-18 15:33 +0200 http://bitbucket.org/pypy/pypy/changeset/b33078c40d3d/ Log:some more diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/

[pypy-commit] pypy virtual-arguments: some debbugging helpers

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56152:ae8825618d6a Date: 2012-07-18 15:36 +0200 http://bitbucket.org/pypy/pypy/changeset/ae8825618d6a/ Log:some debbugging helpers diff --git a/pypy/module/__pypy__/__init__.py b/pypy/module/__pypy__/__init__.py --- a/pypy/modu

[pypy-commit] pypy virtual-arguments: yet another fix

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56153:cc8bf3449424 Date: 2012-07-18 15:41 +0200 http://bitbucket.org/pypy/pypy/changeset/cc8bf3449424/ Log:yet another fix diff --git a/pypy/module/__pypy__/bytebuffer.py b/pypy/module/__pypy__/bytebuffer.py --- a/pypy/module/

[pypy-commit] pypy rpython-unicode-formatting: close to-be-merged branch

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: rpython-unicode-formatting Changeset: r56154:4800e6ba4214 Date: 2012-07-18 15:41 +0200 http://bitbucket.org/pypy/pypy/changeset/4800e6ba4214/ Log:close to-be-merged branch ___ pypy-commit mailing list pypy-commit@python

[pypy-commit] pypy default: merge the rpython-unicode-formatting branch, which adds the possibility of doing % formatting on unicode strings

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r56155:b3331807312c Date: 2012-07-18 15:41 +0200 http://bitbucket.org/pypy/pypy/changeset/b3331807312c/ Log:merge the rpython-unicode-formatting branch, which adds the possibility of doing % formatting on unicode strings diff --git a/pypy/anno

[pypy-commit] pypy virtual-arguments: eh

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56156:0d3ec520a600 Date: 2012-07-18 15:45 +0200 http://bitbucket.org/pypy/pypy/changeset/0d3ec520a600/ Log:eh diff --git a/pypy/module/__pypy__/interp_dict.py b/pypy/module/__pypy__/interp_dict.py --- a/pypy/module/__pypy__/in

[pypy-commit] pypy virtual-arguments: annotator is dumb :)

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56157:bfc7b7773c60 Date: 2012-07-18 15:54 +0200 http://bitbucket.org/pypy/pypy/changeset/bfc7b7773c60/ Log:annotator is dumb :) diff --git a/pypy/module/_random/interp_random.py b/pypy/module/_random/interp_random.py --- a/pyp

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56158:89d75226367e Date: 2012-07-18 16:06 +0200 http://bitbucket.org/pypy/pypy/changeset/89d75226367e/ Log:another one diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listo

[pypy-commit] pypy py3k: try hard to give good error messages when we are unable to convert a string to int() or float(). To do so, we do the parsing directly in unicode instead of trying to convert t

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56159:3e5f50aa9403 Date: 2012-07-18 16:09 +0200 http://bitbucket.org/pypy/pypy/changeset/3e5f50aa9403/ Log:try hard to give good error messages when we are unable to convert a string to int() or float(). To do so, we do the parsing directl

[pypy-commit] pypy py3k: we no longer have objects of type w_str, kill the corresponding code paths

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56160:cfcec2372ef0 Date: 2012-07-18 16:10 +0200 http://bitbucket.org/pypy/pypy/changeset/cfcec2372ef0/ Log:we no longer have objects of type w_str, kill the corresponding code paths diff --git a/pypy/objspace/std/floattype.py b/pypy/objsp

[pypy-commit] pypy py3k: hg merge default

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56162:47325d047a97 Date: 2012-07-18 16:15 +0200 http://bitbucket.org/pypy/pypy/changeset/47325d047a97/ Log:hg merge default diff --git a/pypy/annotation/binaryop.py b/pypy/annotation/binaryop.py --- a/pypy/annotation/binaryop.py +++ b/pypy/annota

[pypy-commit] pypy default: improve the error message in case float(mystring) fails

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r56161:1fe32e3752e0 Date: 2012-07-18 16:13 +0200 http://bitbucket.org/pypy/pypy/changeset/1fe32e3752e0/ Log:improve the error message in case float(mystring) fails diff --git a/pypy/objspace/std/strutil.py b/pypy/objspace/std/strutil.py --- a/pypy/obj

[pypy-commit] pypy py3k: add a test to check the point of the whole refactoring, i.e. that non-ASCII chars are preserved in the exception message

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56163:f4b7f14eeb63 Date: 2012-07-18 16:18 +0200 http://bitbucket.org/pypy/pypy/changeset/f4b7f14eeb63/ Log:add a test to check the point of the whole refactoring, i.e. that non-ASCII chars are preserved in the exception message diff --git

[pypy-commit] pypy virtual-arguments: and yet another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56164:1512d5e642b9 Date: 2012-07-18 16:19 +0200 http://bitbucket.org/pypy/pypy/changeset/1512d5e642b9/ Log:and yet another one diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpre

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56165:7bbdd564ee01 Date: 2012-07-18 16:25 +0200 http://bitbucket.org/pypy/pypy/changeset/7bbdd564ee01/ Log:another one diff --git a/pypy/module/_io/interp_stringio.py b/pypy/module/_io/interp_stringio.py --- a/pypy/module/_io/

[pypy-commit] pypy virtual-arguments: prove one more thing

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56166:f235fe1e8377 Date: 2012-07-18 16:42 +0200 http://bitbucket.org/pypy/pypy/changeset/f235fe1e8377/ Log:prove one more thing diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py --- a/pyp

[pypy-commit] pypy virtual-arguments: and another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56167:7462374e4379 Date: 2012-07-18 17:03 +0200 http://bitbucket.org/pypy/pypy/changeset/7462374e4379/ Log:and another one diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigint.py +++ b/pypy/rlib/rbig

[pypy-commit] pypy py3k: fix int(bytearray(...))

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56168:abd04a3ac161 Date: 2012-07-18 16:38 +0200 http://bitbucket.org/pypy/pypy/changeset/abd04a3ac161/ Log:fix int(bytearray(...)) diff --git a/pypy/objspace/std/longtype.py b/pypy/objspace/std/longtype.py --- a/pypy/objspace/std/longtype.py +++

[pypy-commit] pypy virtual-arguments: and yet another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56169:d2d78fbf9217 Date: 2012-07-18 17:10 +0200 http://bitbucket.org/pypy/pypy/changeset/d2d78fbf9217/ Log:and yet another one diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/functional.py --- a/py

[pypy-commit] pypy py3k: latin1 is not rpython, latin-1 is

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56170:94d4d8dfb184 Date: 2012-07-18 17:10 +0200 http://bitbucket.org/pypy/pypy/changeset/94d4d8dfb184/ Log:latin1 is not rpython, latin-1 is diff --git a/pypy/objspace/std/longtype.py b/pypy/objspace/std/longtype.py --- a/pypy/objspace/std/longty

[pypy-commit] pypy py3k: bah

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56171:7e217c7ff3a4 Date: 2012-07-18 17:15 +0200 http://bitbucket.org/pypy/pypy/changeset/7e217c7ff3a4/ Log:bah diff --git a/pypy/objspace/std/longtype.py b/pypy/objspace/std/longtype.py --- a/pypy/objspace/std/longtype.py +++ b/pypy/objspace/std/

[pypy-commit] pypy pypy-in-a-box: report errors

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56172:7ec5c5f0f008 Date: 2012-07-18 17:17 +0200 http://bitbucket.org/pypy/pypy/changeset/7ec5c5f0f008/ Log:report errors diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py --- a/pypy/objspace/std/embedding

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56173:9a0810f2dd32 Date: 2012-07-18 17:20 +0200 http://bitbucket.org/pypy/pypy/changeset/9a0810f2dd32/ Log:another one diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py --- a/pypy/objspac

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56174:94ae6389689e Date: 2012-07-18 17:26 +0200 http://bitbucket.org/pypy/pypy/changeset/94ae6389689e/ Log:another one diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listo

[pypy-commit] pypy pypy-in-a-box: kill a pointless arg

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56175:c359afad9bf7 Date: 2012-07-18 17:32 +0200 http://bitbucket.org/pypy/pypy/changeset/c359afad9bf7/ Log:kill a pointless arg diff --git a/pypy/objspace/std/embedding.py b/pypy/objspace/std/embedding.py --- a/pypy/objspace/std/em

[pypy-commit] pypy virtual-arguments: this is always positive

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56176:331a52aa6f9e Date: 2012-07-18 17:32 +0200 http://bitbucket.org/pypy/pypy/changeset/331a52aa6f9e/ Log:this is always positive diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py --- a/pypy/interpreter/py

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56177:feef0a4d2de0 Date: 2012-07-18 17:48 +0200 http://bitbucket.org/pypy/pypy/changeset/feef0a4d2de0/ Log:another one diff --git a/pypy/module/_sre/interp_sre.py b/pypy/module/_sre/interp_sre.py --- a/pypy/module/_sre/interp_s

[pypy-commit] pypy ppc-jit-backend: (edelsohn, bivab) add a failing test extracted from test_basic.py

2012-07-18 Thread bivab
Author: David Schneider Branch: ppc-jit-backend Changeset: r56178:13e56aa12150 Date: 2012-07-18 08:49 -0700 http://bitbucket.org/pypy/pypy/changeset/13e56aa12150/ Log:(edelsohn, bivab) add a failing test extracted from test_basic.py diff --git a/pypy/jit/backend/ppc/test/test_regalloc_2.py

[pypy-commit] pypy ppc-jit-backend: (edelsohn, bivab): Do not use as_key() in regalloc_mov to access locations.

2012-07-18 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r56179:05a20dc544bc Date: 2012-07-18 11:53 -0400 http://bitbucket.org/pypy/pypy/changeset/05a20dc544bc/ Log:(edelsohn,bivab): Do not use as_key() in regalloc_mov to access locations. diff --git a/pypy/jit/backend/ppc/ppc_assembler.py

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56180:1f99cb314a0d Date: 2012-07-18 17:59 +0200 http://bitbucket.org/pypy/pypy/changeset/1f99cb314a0d/ Log:another one diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py --- a/pypy/interpreter/pyframe.py +++

[pypy-commit] pypy virtual-arguments: and another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56181:52468dc17056 Date: 2012-07-18 18:07 +0200 http://bitbucket.org/pypy/pypy/changeset/52468dc17056/ Log:and another one diff --git a/pypy/module/_sre/interp_sre.py b/pypy/module/_sre/interp_sre.py --- a/pypy/module/_sre/inte

[pypy-commit] pypy virtual-arguments: another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56182:aa9406870803 Date: 2012-07-18 18:28 +0200 http://bitbucket.org/pypy/pypy/changeset/aa9406870803/ Log:another one diff --git a/pypy/interpreter/astcompiler/assemble.py b/pypy/interpreter/astcompiler/assemble.py --- a/pypy

[pypy-commit] pypy pypy-in-a-box: a hackish support for int -> numpy array

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: pypy-in-a-box Changeset: r56183:09738793ae38 Date: 2012-07-18 18:31 +0200 http://bitbucket.org/pypy/pypy/changeset/09738793ae38/ Log:a hackish support for int -> numpy array diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/in

[pypy-commit] pypy virtual-arguments: maybe the last one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56184:15097f46e79c Date: 2012-07-18 18:35 +0200 http://bitbucket.org/pypy/pypy/changeset/15097f46e79c/ Log:maybe the last one diff --git a/pypy/module/__pypy__/interp_dict.py b/pypy/module/__pypy__/interp_dict.py --- a/pypy/mo

[pypy-commit] pypy virtual-arguments: eh

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56185:5e08cf81c3fe Date: 2012-07-18 19:09 +0200 http://bitbucket.org/pypy/pypy/changeset/5e08cf81c3fe/ Log:eh diff --git a/pypy/module/__pypy__/interp_dict.py b/pypy/module/__pypy__/interp_dict.py --- a/pypy/module/__pypy__/in

[pypy-commit] extradoc extradoc: an attempt at a figure

2012-07-18 Thread cfbolz
Author: Carl Friedrich Bolz Branch: extradoc Changeset: r4309:494a47f5becd Date: 2012-07-18 19:27 +0200 http://bitbucket.org/pypy/extradoc/changeset/494a47f5becd/ Log:an attempt at a figure diff --git a/talk/vmil2012/figures/frames_example.svg b/talk/vmil2012/figures/frames_example.svg new

[pypy-commit] pypy virtual-arguments: eh

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56186:0f833fadefdc Date: 2012-07-18 19:35 +0200 http://bitbucket.org/pypy/pypy/changeset/0f833fadefdc/ Log:eh diff --git a/pypy/module/__pypy__/interp_dict.py b/pypy/module/__pypy__/interp_dict.py --- a/pypy/module/__pypy__/in

[pypy-commit] pypy virtual-arguments: uh

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56187:95e2c4ccb3e0 Date: 2012-07-18 19:36 +0200 http://bitbucket.org/pypy/pypy/changeset/95e2c4ccb3e0/ Log:uh diff --git a/pypy/module/__pypy__/interp_dict.py b/pypy/module/__pypy__/interp_dict.py --- a/pypy/module/__pypy__/in

[pypy-commit] pypy virtual-arguments: one in the JIT

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56188:ffc7375ed7c3 Date: 2012-07-18 19:59 +0200 http://bitbucket.org/pypy/pypy/changeset/ffc7375ed7c3/ Log:one in the JIT diff --git a/pypy/jit/metainterp/optimizeopt/vstring.py b/pypy/jit/metainterp/optimizeopt/vstring.py ---

[pypy-commit] pypy ppc-jit-backend: Change r.r2 to r.TOC in call helpers.

2012-07-18 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r56189:43758bad6882 Date: 2012-07-18 14:03 -0400 http://bitbucket.org/pypy/pypy/changeset/43758bad6882/ Log:Change r.r2 to r.TOC in call helpers. diff --git a/pypy/jit/backend/ppc/codebuilder.py b/pypy/jit/backend/ppc/codebuilder.py --- a/p

[pypy-commit] pypy virtual-arguments: this by now proven

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56191:974406767f34 Date: 2012-07-18 20:05 +0200 http://bitbucket.org/pypy/pypy/changeset/974406767f34/ Log:this by now proven diff --git a/pypy/jit/metainterp/optimizeopt/virtualize.py b/pypy/jit/metainterp/optimizeopt/virtual

[pypy-commit] pypy ppc-jit-backend: In cmp_op helper, let cmp_op handle int vs float instead of emitting

2012-07-18 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r56190:7aab54cc71d1 Date: 2012-07-18 14:05 -0400 http://bitbucket.org/pypy/pypy/changeset/7aab54cc71d1/ Log:In cmp_op helper, let cmp_op handle int vs float instead of emitting fcmpu directly. diff --git a/pypy/jit/backend/ppc/helper

[pypy-commit] pypy virtual-arguments: and another one

2012-07-18 Thread fijal
Author: Maciej Fijalkowski Branch: virtual-arguments Changeset: r56192:e7015be84ed6 Date: 2012-07-18 20:23 +0200 http://bitbucket.org/pypy/pypy/changeset/e7015be84ed6/ Log:and another one diff --git a/pypy/jit/metainterp/resume.py b/pypy/jit/metainterp/resume.py --- a/pypy/jit/metainterp/res

[pypy-commit] pypy py3k: add a decorator which allows to selectively use the equivalent of "from

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56193:401f486a2982 Date: 2012-07-18 21:34 +0200 http://bitbucket.org/pypy/pypy/changeset/401f486a2982/ Log:add a decorator which allows to selectively use the equivalent of "from __future__ import unicode_literals" on a per-function basis

[pypy-commit] pypy py3k: alternate format is now valid also for complex

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56195:c7dd1bd00162 Date: 2012-07-18 21:44 +0200 http://bitbucket.org/pypy/pypy/changeset/c7dd1bd00162/ Log:alternate format is now valid also for complex diff --git a/pypy/objspace/std/test/test_complexobject.py b/pypy/objspace/std/test/test_com

[pypy-commit] pypy py3k: fix parsing of complex numbers by using unicode instead of strings

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56194:835130082aa6 Date: 2012-07-18 21:42 +0200 http://bitbucket.org/pypy/pypy/changeset/835130082aa6/ Log:fix parsing of complex numbers by using unicode instead of strings diff --git a/pypy/objspace/std/complextype.py b/pypy/objspace/std/comple

[pypy-commit] pypy py3k: rever part of the previous checkins and use @with_unicode_literals instead of puttin u'' everywhere, to avoid too much divergence from default

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56196:88252d0d0680 Date: 2012-07-18 22:09 +0200 http://bitbucket.org/pypy/pypy/changeset/88252d0d0680/ Log:rever part of the previous checkins and use @with_unicode_literals instead of puttin u'' everywhere, to avoid too much divergence fr

[pypy-commit] pypy py3k: bah, we cannot use unicode.lower in rpython. Work-around that

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56197:632de45afcdb Date: 2012-07-18 22:27 +0200 http://bitbucket.org/pypy/pypy/changeset/632de45afcdb/ Log:bah, we cannot use unicode.lower in rpython. Work-around that diff --git a/pypy/objspace/std/strutil.py b/pypy/objspace/std/strutil.py ---

[pypy-commit] pypy default: Only strengthen guard_*_class to guard_value when the classes matches (might fix issue1207)

2012-07-18 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r56199:5fcf9d1c9713 Date: 2012-07-18 22:37 +0200 http://bitbucket.org/pypy/pypy/changeset/5fcf9d1c9713/ Log:Only strengthen guard_*_class to guard_value when the classes matches (might fix issue1207) diff --git a/pypy/jit/metainterp/optimizeopt/

[pypy-commit] pypy py3k: bah; rpython+unicode is hard

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56201:6169d4adf0f6 Date: 2012-07-18 22:43 +0200 http://bitbucket.org/pypy/pypy/changeset/6169d4adf0f6/ Log:bah; rpython+unicode is hard diff --git a/pypy/objspace/std/strutil.py b/pypy/objspace/std/strutil.py --- a/pypy/objspace/std/strutil.py ++

[pypy-commit] pypy default: log short preamble of retraces

2012-07-18 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r56198:d6193c5a40b9 Date: 2012-07-18 22:22 +0200 http://bitbucket.org/pypy/pypy/changeset/d6193c5a40b9/ Log:log short preamble of retraces diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py --- a/pypy/jit/metainterp/compile.py

[pypy-commit] pypy default: merge

2012-07-18 Thread hakanardo
Author: Hakan Ardo Branch: Changeset: r56200:942fa7ae1145 Date: 2012-07-18 22:40 +0200 http://bitbucket.org/pypy/pypy/changeset/942fa7ae1145/ Log:merge diff --git a/pypy/annotation/binaryop.py b/pypy/annotation/binaryop.py --- a/pypy/annotation/binaryop.py +++ b/pypy/annotation/binaryop.py

[pypy-commit] pypy py3k: bah, we need to recursively convert strings to unicode also inside constant tuples

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56202:658eb1045b20 Date: 2012-07-18 23:16 +0200 http://bitbucket.org/pypy/pypy/changeset/658eb1045b20/ Log:bah, we need to recursively convert strings to unicode also inside constant tuples diff --git a/pypy/tool/sourcetools.py b/pypy/too

[pypy-commit] cffi default: detail

2012-07-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r666:301d39294e6b Date: 2012-07-18 09:08 +0200 http://bitbucket.org/cffi/cffi/changeset/301d39294e6b/ Log:detail diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -732,7 +732,7 @@ the exce

[pypy-commit] cffi default: This test works (tested elsewhere).

2012-07-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r667:35cce1c053cc Date: 2012-07-18 23:21 +0200 http://bitbucket.org/cffi/cffi/changeset/35cce1c053cc/ Log:This test works (tested elsewhere). diff --git a/testing/test_function.py b/testing/test_function.py --- a/testing/test_function.py +++ b/testing/t

[pypy-commit] cffi default: Draft the future test for calling convention of callbacks

2012-07-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r668:7e683e259cd2 Date: 2012-07-18 23:27 +0200 http://bitbucket.org/cffi/cffi/changeset/7e683e259cd2/ Log:Draft the future test for calling convention of callbacks diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py

[pypy-commit] cffi default: Mostly backs out cf812c61a579: "un-implement" the support for

2012-07-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r669:7810bd6ea28b Date: 2012-07-18 23:32 +0200 http://bitbucket.org/cffi/cffi/changeset/7810bd6ea28b/ Log:Mostly backs out cf812c61a579: "un-implement" the support for calling convention on callbacks on Windows. This support was too bogus

[pypy-commit] pypy py3k: hg merge default

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r56204:527bcbf32b7a Date: 2012-07-19 00:43 +0200 http://bitbucket.org/pypy/pypy/changeset/527bcbf32b7a/ Log:hg merge default diff --git a/pypy/rpython/lltypesystem/rstr.py b/pypy/rpython/lltypesystem/rstr.py --- a/pypy/rpython/lltypesystem/rstr.p

[pypy-commit] pypy default: test&fix for when the unicode %s argument is None: we cannot call convert_const, it's not rpython at all

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r56203:8fb327e0282d Date: 2012-07-19 00:41 +0200 http://bitbucket.org/pypy/pypy/changeset/8fb327e0282d/ Log:test&fix for when the unicode %s argument is None: we cannot call convert_const, it's not rpython at all diff --git a/pypy/rpython/llty

[pypy-commit] pypy default: merge heads

2012-07-18 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r56205:53740abc0db3 Date: 2012-07-19 00:43 +0200 http://bitbucket.org/pypy/pypy/changeset/53740abc0db3/ Log:merge heads diff --git a/pypy/jit/metainterp/compile.py b/pypy/jit/metainterp/compile.py --- a/pypy/jit/metainterp/compile.py +++ b/pypy/jit/me

[pypy-commit] pypy reflex-support: first attempt at pythonizations in rpython

2012-07-18 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r56206:5bb835b9bca6 Date: 2012-07-17 14:37 -0700 http://bitbucket.org/pypy/pypy/changeset/5bb835b9bca6/ Log:first attempt at pythonizations in rpython diff --git a/pypy/module/cppyy/__init__.py b/pypy/module/cppyy/__init__.py --- a/pypy

[pypy-commit] pypy reflex-support: o) STL/vector fixes

2012-07-18 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r56207:76055d358a9a Date: 2012-07-18 10:18 -0700 http://bitbucket.org/pypy/pypy/changeset/76055d358a9a/ Log:o) STL/vector fixes o) more TTree-IO improvements (CINT-backend) diff --git a/pypy/module/cppyy/capi/cint_capi.py b/pypy/module

[pypy-commit] pypy reflex-support: simplication that optimizes TTree::GetEntry() call

2012-07-18 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r56208:208106c8a7ca Date: 2012-07-18 16:46 -0700 http://bitbucket.org/pypy/pypy/changeset/208106c8a7ca/ Log:simplication that optimizes TTree::GetEntry() call diff --git a/pypy/module/cppyy/capi/cint_capi.py b/pypy/module/cppyy/capi/ci

[pypy-commit] pypy arm-backend-2: raise an error when trying to execute read_timestamp

2012-07-18 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r56210:f12cd4512085 Date: 2012-07-16 16:19 +0200 http://bitbucket.org/pypy/pypy/changeset/f12cd4512085/ Log:raise an error when trying to execute read_timestamp diff --git a/pypy/jit/backend/arm/opassembler.py b/pypy/jit/backend/arm/o

[pypy-commit] pypy arm-backend-2: import test_ajit tests from x86 backend

2012-07-18 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r56211:0fffe7f2e840 Date: 2012-07-16 16:19 +0200 http://bitbucket.org/pypy/pypy/changeset/0fffe7f2e840/ Log:import test_ajit tests from x86 backend diff --git a/pypy/jit/backend/x86/test/test_basic.py b/pypy/jit/backend/arm/test/test_

[pypy-commit] pypy arm-backend-2: merge heads

2012-07-18 Thread bivab
Author: David Schneider Branch: arm-backend-2 Changeset: r56213:dabfd85344e9 Date: 2012-07-17 17:37 +0200 http://bitbucket.org/pypy/pypy/changeset/dabfd85344e9/ Log:merge heads diff --git a/pypy/jit/backend/arm/opassembler.py b/pypy/jit/backend/arm/opassembler.py --- a/pypy/jit/backend/arm/

  1   2   >