[pypy-commit] pypy py3k: remove debug print

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57714:b66b8ad37991 Date: 2012-10-02 11:18 +0200 http://bitbucket.org/pypy/pypy/changeset/b66b8ad37991/ Log:remove debug print diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py +++ b/

[pypy-commit] pypy py3k: test&fix for the only set operator which is not symmetric

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57717:3110468abb0a Date: 2012-10-02 14:56 +0200 http://bitbucket.org/pypy/pypy/changeset/3110468abb0a/ Log:test&fix for the only set operator which is not symmetric diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultio

[pypy-commit] pypy py3k: implement the - operator between dict views and sets

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57715:3cc63ec8ea3d Date: 2012-10-02 11:44 +0200 http://bitbucket.org/pypy/pypy/changeset/3cc63ec8ea3d/ Log:implement the - operator between dict views and sets diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject

[pypy-commit] pypy py3k: make sure that set operations on dict views work with sequences in general and when the dictview is the right operand. Also, reduce a bit the duplicated code with some metapro

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57716:25ca3d2037d4 Date: 2012-10-02 14:45 +0200 http://bitbucket.org/pypy/pypy/changeset/25ca3d2037d4/ Log:make sure that set operations on dict views work with sequences in general and when the dictview is the right operand. Also, reduce

[pypy-commit] pypy py3k: implement containment operators for dict views

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57718:f35922ab0bb5 Date: 2012-10-02 16:01 +0200 http://bitbucket.org/pypy/pypy/changeset/f35922ab0bb5/ Log:implement containment operators for dict views diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.py --

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Split instrument.h and instrument.c

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57721:c16499d28e1f Date: 2012-09-30 20:39 +0200 http://bitbucket.org/pypy/pypy/changeset/c16499d28e1f/ Log:Split instrument.h and instrument.c diff --git a/pypy/translator/c/funcgen.py b/pypy/translator/c/funcgen.py -

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Split ll_strtod.h into interface and implementation.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57722:72618a227a33 Date: 2012-09-30 20:49 +0200 http://bitbucket.org/pypy/pypy/changeset/72618a227a33/ Log:Split ll_strtod.h into interface and implementation. diff --git a/pypy/translator/c/genc.py b/pypy/translator/

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Always generate separate header files, even for "one_source_file" builds.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57724:33ac21ea061d Date: 2012-10-02 14:50 +0200 http://bitbucket.org/pypy/pypy/changeset/33ac21ea061d/ Log:Always generate separate header files, even for "one_source_file" builds. This allows int.c to be compi

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Split debug_traceback: .h and .c.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57725:6fc70071ea32 Date: 2012-10-02 14:59 +0200 http://bitbucket.org/pypy/pypy/changeset/6fc70071ea32/ Log:Split debug_traceback: .h and .c. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py --- a/pyp

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Fix compilation warning

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57726:6c0442c33f2f Date: 2012-10-02 15:00 +0200 http://bitbucket.org/pypy/pypy/changeset/6c0442c33f2f/ Log:Fix compilation warning diff --git a/pypy/translator/c/src/debug_traceback.c b/pypy/translator/c/src/debug_tr

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Move the "preimpl" lines to their own file preimpl.h

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57723:ea51e86e4d9d Date: 2012-10-01 23:54 +0200 http://bitbucket.org/pypy/pypy/changeset/ea51e86e4d9d/ Log:Move the "preimpl" lines to their own file preimpl.h (provide well-known aliases to generated objects,

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Split stack.h: header and implementation.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57729:6519032ac08f Date: 2012-10-02 15:34 +0200 http://bitbucket.org/pypy/pypy/changeset/6519032ac08f/ Log:Split stack.h: header and implementation. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py -

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: exception.h: split interface and implementation

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57727:a96792ef6114 Date: 2012-10-02 15:14 +0200 http://bitbucket.org/pypy/pypy/changeset/a96792ef6114/ Log:exception.h: split interface and implementation diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/gen

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Silence a compiler warning.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57730:6c064745905a Date: 2012-10-02 15:35 +0200 http://bitbucket.org/pypy/pypy/changeset/6c064745905a/ Log:Silence a compiler warning. diff --git a/pypy/translator/c/src/instrument.c b/pypy/translator/c/src/instrumen

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Split support.h into header and implementation.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57728:58342f3c594d Date: 2012-10-02 15:27 +0200 http://bitbucket.org/pypy/pypy/changeset/58342f3c594d/ Log:Split support.h into header and implementation. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/gen

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Split rtyper.h: header and implementation.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57731:3eea4e004571 Date: 2012-10-02 15:42 +0200 http://bitbucket.org/pypy/pypy/changeset/3eea4e004571/ Log:Split rtyper.h: header and implementation. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Split main.h: interface and implementation.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57733:3387ffeb70aa Date: 2012-10-02 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/3387ffeb70aa/ Log:Split main.h: interface and implementation. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: pyobj.h: split header and implementation.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57732:5cc488dd7195 Date: 2012-10-02 15:47 +0200 http://bitbucket.org/pypy/pypy/changeset/5cc488dd7195/ Log:pyobj.h: split header and implementation. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py -

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Some #ifdef and documentation.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57734:8144ea8e6de4 Date: 2012-10-02 16:37 +0200 http://bitbucket.org/pypy/pypy/changeset/8144ea8e6de4/ Log:Some #ifdef and documentation. diff --git a/pypy/translator/c/genc.py b/pypy/translator/c/genc.py --- a/pypy/t

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: This hack is not needed anymore :-)

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57736:3d4fb2de6119 Date: 2012-10-02 16:44 +0200 http://bitbucket.org/pypy/pypy/changeset/3d4fb2de6119/ Log:This hack is not needed anymore :-) diff --git a/pypy/rpython/tool/rffi_platform.py b/pypy/rpython/tool/rffi_

[pypy-commit] pypy pytest: move the test jit/translation graph viewing options to a own plugin to external code can use it

2012-10-02 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: pytest Changeset: r57737:263956ca5435 Date: 2012-10-02 16:58 +0200 http://bitbucket.org/pypy/pypy/changeset/263956ca5435/ Log:move the test jit/translation graph viewing options to a own plugin to external code can use it diff --git a/pypy/conftest.

[pypy-commit] pypy py3k: try to fix what was broken after the merge because of the translation-cleanup branch

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57738:f123c1cfc55b Date: 2012-10-02 17:06 +0200 http://bitbucket.org/pypy/pypy/changeset/f123c1cfc55b/ Log:try to fix what was broken after the merge because of the translation-cleanup branch diff --git a/pypy/objspace/flow/bytecode.py b/

[pypy-commit] pypy pytest: use the applymarker api

2012-10-02 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: pytest Changeset: r57739:e76c004973a7 Date: 2012-10-02 17:15 +0200 http://bitbucket.org/pypy/pypy/changeset/e76c004973a7/ Log:use the applymarker api diff --git a/pypy/conftest.py b/pypy/conftest.py --- a/pypy/conftest.py +++ b/pypy/conftest.py @@ -365,7 +3

[pypy-commit] pypy pytest: move the pygame check to the viewer plugin, add a test for it

2012-10-02 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: pytest Changeset: r57740:3a8ee8860fee Date: 2012-10-02 17:29 +0200 http://bitbucket.org/pypy/pypy/changeset/3a8ee8860fee/ Log:move the pygame check to the viewer plugin, add a test for it diff --git a/pypy/conftest.py b/pypy/conftest.py --- a/pypy/conftest.

[pypy-commit] pypy py3k: bytes->unicode conversion for all of _csv

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57742:eb67e48a3a84 Date: 2012-10-02 18:19 +0200 http://bitbucket.org/pypy/pypy/changeset/eb67e48a3a84/ Log:bytes->unicode conversion for all of _csv diff --git a/pypy/module/_csv/app_csv.py b/pypy/module/_csv/app_csv.py --- a/pypy/module/_csv/app

[pypy-commit] pypy numpypy-complex2: do not trust tranlating platform's power() for tests

2012-10-02 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57743:5c72f033e952 Date: 2012-10-02 00:05 +0200 http://bitbucket.org/pypy/pypy/changeset/5c72f033e952/ Log:do not trust tranlating platform's power() for tests diff --git a/pypy/module/micronumpy/test/test_complex.py b/pypy/module/micronum

[pypy-commit] pypy numpypy-complex2: test, implement square

2012-10-02 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57745:aa838974e5f4 Date: 2012-10-02 08:59 +0200 http://bitbucket.org/pypy/pypy/changeset/aa838974e5f4/ Log:test, implement square diff --git a/pypy/module/micronumpy/test/test_complex.py b/pypy/module/micronumpy/test/test_complex.py --- a/

[pypy-commit] pypy py3k: the _csv module now expects unicode to read, not strings

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57741:4193517439a8 Date: 2012-10-02 17:54 +0200 http://bitbucket.org/pypy/pypy/changeset/4193517439a8/ Log:the _csv module now expects unicode to read, not strings diff --git a/pypy/module/_csv/interp_reader.py b/pypy/module/_csv/interp_reader.p

[pypy-commit] pypy numpypy-complex2: add failing test for pow ( ** ) for interpreter,

2012-10-02 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57744:bfe960db6801 Date: 2012-10-02 06:07 +0200 http://bitbucket.org/pypy/pypy/changeset/bfe960db6801/ Log:add failing test for pow ( ** ) for interpreter, start to fix for interpreter, rcomplex, and numpypy disallow arctan2 for comp

[pypy-commit] pypy numpypy-complex2: pass power tests

2012-10-02 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57746:cbb6be7ebe82 Date: 2012-10-02 18:18 +0200 http://bitbucket.org/pypy/pypy/changeset/cbb6be7ebe82/ Log:pass power tests diff --git a/pypy/module/micronumpy/test/test_complex.py b/pypy/module/micronumpy/test/test_complex.py --- a/pypy/m

[pypy-commit] pypy length-hint: hook length_hinting into map/filter/zip

2012-10-02 Thread pjenvey
Author: Philip Jenvey Branch: length-hint Changeset: r57747:117775ce3778 Date: 2012-10-02 11:46 -0700 http://bitbucket.org/pypy/pypy/changeset/117775ce3778/ Log:hook length_hinting into map/filter/zip diff --git a/pypy/module/__builtin__/app_functional.py b/pypy/module/__builtin__/app_funct

[pypy-commit] pypy translation-cleanup: Kill option tweak_for_generator

2012-10-02 Thread rlamy
Author: Ronan Lamy Branch: translation-cleanup Changeset: r57749:07cb024bd3aa Date: 2012-10-01 18:14 +0100 http://bitbucket.org/pypy/pypy/changeset/07cb024bd3aa/ Log:Kill option tweak_for_generator diff --git a/pypy/objspace/flow/objspace.py b/pypy/objspace/flow/objspace.py --- a/pypy/objspa

[pypy-commit] pypy translation-cleanup: Don't build the flow graph when bootstrapping generator graphs

2012-10-02 Thread rlamy
Author: Ronan Lamy Branch: translation-cleanup Changeset: r57750:eab196c1b02f Date: 2012-10-02 20:55 +0100 http://bitbucket.org/pypy/pypy/changeset/eab196c1b02f/ Log:Don't build the flow graph when bootstrapping generator graphs + Split tweak_generator_graph() diff --git a/pypy/objs

[pypy-commit] pypy remove-PYPY_NOT_MAIN_FILE: Fix fix fix.

2012-10-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: remove-PYPY_NOT_MAIN_FILE Changeset: r57751:b7aba3fd9ad8 Date: 2012-10-02 22:58 +0200 http://bitbucket.org/pypy/pypy/changeset/b7aba3fd9ad8/ Log:Fix fix fix. Also rename main.c into entrypoint.c, to avoid collision in case of --shared build. diff

[pypy-commit] pypy py3k: rpython fix

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57753:046240dc8f86 Date: 2012-10-03 00:39 +0200 http://bitbucket.org/pypy/pypy/changeset/046240dc8f86/ Log:rpython fix diff --git a/pypy/module/_csv/interp_writer.py b/pypy/module/_csv/interp_writer.py --- a/pypy/module/_csv/interp_writer.py +++

[pypy-commit] pypy py3k: rpython fix: use unicode strings for error messages, because we need to use %s on unicode args

2012-10-02 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r57754:c8036c0dd50b Date: 2012-10-03 00:43 +0200 http://bitbucket.org/pypy/pypy/changeset/c8036c0dd50b/ Log:rpython fix: use unicode strings for error messages, because we need to use %s on unicode args diff --git a/pypy/module/_csv/interp

[pypy-commit] pypy length-hint: restore iadd__List_List, it's still needed to override add__List_List

2012-10-02 Thread pjenvey
Author: Philip Jenvey Branch: length-hint Changeset: r57755:3eea894217c9 Date: 2012-10-02 16:11 -0700 http://bitbucket.org/pypy/pypy/changeset/3eea894217c9/ Log:restore iadd__List_List, it's still needed to override add__List_List diff --git a/pypy/objspace/std/listobject.py b/pypy/o

[pypy-commit] pypy length-hint: avoid the contextlib import here entirely as it complicates a few tests

2012-10-02 Thread pjenvey
Author: Philip Jenvey Branch: length-hint Changeset: r57756:270bd0593d3f Date: 2012-10-02 16:58 -0700 http://bitbucket.org/pypy/pypy/changeset/270bd0593d3f/ Log:avoid the contextlib import here entirely as it complicates a few tests diff --git a/pypy/module/__builtin__/app_functional

[pypy-commit] pypy numpypy-complex2: revert attempt to fix, test issue1275 - test was bogus

2012-10-02 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57757:8a750e1d53b2 Date: 2012-10-03 08:14 +0200 http://bitbucket.org/pypy/pypy/changeset/8a750e1d53b2/ Log:revert attempt to fix, test issue1275 - test was bogus diff --git a/pypy/interpreter/astcompiler/test/test_compiler.py b/pypy/interp