[pypy-commit] pypy default: datetime shouldn't allow float arguments for various things

2012-02-13 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r52436:ea7cd308d573 Date: 2012-02-13 20:00 -0500 http://bitbucket.org/pypy/pypy/changeset/ea7cd308d573/ Log:datetime shouldn't allow float arguments for various things diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py --- a/lib_pypy/datetime.py

[pypy-commit] pypy revive-dlltool: Fix dlltool: a way to build a .so or .dll which is not

2012-02-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: revive-dlltool Changeset: r52435:a1819d03772d Date: 2012-02-14 00:14 +0100 http://bitbucket.org/pypy/pypy/changeset/a1819d03772d/ Log:Fix dlltool: a way to build a .so or .dll which is not a CPython extension module. diff --git a/pypy/translator/c

[pypy-commit] pypy revive-dlltool: A branch to make dlltool work again: build .so that are not extension modules

2012-02-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: revive-dlltool Changeset: r52434:1922fd51a332 Date: 2012-02-12 23:17 +0100 http://bitbucket.org/pypy/pypy/changeset/1922fd51a332/ Log:A branch to make dlltool work again: build .so that are not extension modules ___

[pypy-commit] extradoc extradoc: (fijal, agaynor) start writing slides

2012-02-13 Thread fijal
Author: Maciej Fijalkowski Branch: extradoc Changeset: r4086:0847e4b90c62 Date: 2012-02-13 23:23 +0100 http://bitbucket.org/pypy/extradoc/changeset/0847e4b90c62/ Log:(fijal, agaynor) start writing slides diff --git a/talk/sea2012/talk.rst b/talk/sea2012/talk.rst new file mode 100644 --- /dev

[pypy-commit] pypy numpy-record-dtypes: progress on storing record boxes (and reading). Not quite working , pdb left

2012-02-13 Thread fijal
Author: Maciej Fijalkowski Branch: numpy-record-dtypes Changeset: r52433:bd3a6f174333 Date: 2012-02-13 23:40 +0200 http://bitbucket.org/pypy/pypy/changeset/bd3a6f174333/ Log:progress on storing record boxes (and reading). Not quite working , pdb left where it's left diff --git a/pypy

[pypy-commit] Notification: pypy

2012-02-13 Thread Bitbucket
You have received a notification from Manuel Jacob. Hi, I forked pypy. My fork is at https://bitbucket.org/mjacob/pypy. -- Disable notifications at https://bitbucket.org/account/notifications/ ___ pypy-commit mailing list pypy-commit@python.org http://m

[pypy-commit] pypy default: cpyext: expose PyClass_Type.

2012-02-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r52432:fd14bc0aec12 Date: 2012-02-13 21:53 +0100 http://bitbucket.org/pypy/pypy/changeset/fd14bc0aec12/ Log:cpyext: expose PyClass_Type. diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/p

[pypy-commit] pypy ppc-jit-backend: Comment out Loop start message.

2012-02-13 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52430:7cd5de17030d Date: 2012-02-13 13:04 -0500 http://bitbucket.org/pypy/pypy/changeset/7cd5de17030d/ Log:Comment out Loop start message. diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py --- a/pyp

[pypy-commit] pypy ppc-jit-backend: Don't use for loop.

2012-02-13 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52431:53603cb4101c Date: 2012-02-13 13:05 -0500 http://bitbucket.org/pypy/pypy/changeset/53603cb4101c/ Log:Don't use for loop. diff --git a/pypy/jit/backend/ppc/helper/assembler.py b/pypy/jit/backend/ppc/helper/assembler.py --- a/pypy/jit/

[pypy-commit] pypy ppc-jit-backend: (bivab, hager): Fix bug in emit_unicodesetitem. Do not overwrite managed locations!

2012-02-13 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r52428:1dfbe17803ed Date: 2012-02-13 18:34 +0100 http://bitbucket.org/pypy/pypy/changeset/1dfbe17803ed/ Log:(bivab, hager): Fix bug in emit_unicodesetitem. Do not overwrite managed locations! diff --git a/pypy/jit/backend/ppc/opassembl

[pypy-commit] pypy ppc-jit-backend: merge

2012-02-13 Thread hager
Author: hager Branch: ppc-jit-backend Changeset: r52429:68416fec227f Date: 2012-02-13 18:38 +0100 http://bitbucket.org/pypy/pypy/changeset/68416fec227f/ Log:merge diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py --- a/pypy/jit/backend/ppc/ppc_assemb

[pypy-commit] pypy py3k: add two tests which fails because we don't emit/implement POP_EXCEPT

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52427:b4da0d057eac Date: 2012-02-13 18:26 +0100 http://bitbucket.org/pypy/pypy/changeset/b4da0d057eac/ Log:add two tests which fails because we don't emit/implement POP_EXCEPT diff --git a/pypy/interpreter/test/test_raise.py b/pypy/interpreter/t

[pypy-commit] pypy py3k: improve the raises() function which is used inside -A tests. Now test_raises -A passes on cpython3

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52423:aaee3698b598 Date: 2012-02-13 11:35 +0100 http://bitbucket.org/pypy/pypy/changeset/aaee3698b598/ Log:improve the raises() function which is used inside -A tests. Now test_raises -A passes on cpython3 diff --git a/pypy/conftest.py b/

[pypy-commit] pypy py3k: we cannot catch '42' in py3. Not sure whether it's essential for the point of the test, removing this except clause does not change anything even on the default branch

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52422:cc89478806f3 Date: 2012-02-11 11:58 +0100 http://bitbucket.org/pypy/pypy/changeset/cc89478806f3/ Log:we cannot catch '42' in py3. Not sure whether it's essential for the point of the test, removing this except clause does not change

[pypy-commit] pypy py3k: try to refactor this test to pass on python3 with -A

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52418:86bdb9ba2780 Date: 2012-02-11 11:49 +0100 http://bitbucket.org/pypy/pypy/changeset/86bdb9ba2780/ Log:try to refactor this test to pass on python3 with -A diff --git a/pypy/interpreter/test/test_raise.py b/pypy/interpreter/test/test_raise.p

[pypy-commit] pypy py3k: again, we need to subclass Exception to raise/catch exceptions

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52421:6e48dcb29be4 Date: 2012-02-11 11:53 +0100 http://bitbucket.org/pypy/pypy/changeset/6e48dcb29be4/ Log:again, we need to subclass Exception to raise/catch exceptions diff --git a/pypy/interpreter/test/test_raise.py b/pypy/interpreter/test/te

[pypy-commit] pypy py3k: make sure that .dump() works again

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52426:9e5364a377d1 Date: 2012-02-13 16:56 +0100 http://bitbucket.org/pypy/pypy/changeset/9e5364a377d1/ Log:make sure that .dump() works again diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py --- a/pypy/interpreter/pycode.py ++

[pypy-commit] pypy py3k: f_exc_type no longer exists. Rewrite the test using exc_info(), and also the type of the exception is different

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52417:46a8ec490951 Date: 2012-02-11 11:33 +0100 http://bitbucket.org/pypy/pypy/changeset/46a8ec490951/ Log:f_exc_type no longer exists. Rewrite the test using exc_info(), and also the type of the exception is different diff --git a/pypy/i

[pypy-commit] pypy py3k: in python3, when we enter the finally: block because of an exception sys.exc_info() returns the current one, as it happens for except: blocks. In python2, the current exceptio

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52425:7ab281a6cae3 Date: 2012-02-13 13:46 +0100 http://bitbucket.org/pypy/pypy/changeset/7ab281a6cae3/ Log:in python3, when we enter the finally: block because of an exception sys.exc_info() returns the current one, as it happens for excep

[pypy-commit] pypy py3k: python3 changed the behavior in case we raise an exception from within a finally block: in python2 it was ignored and the main exception went through, in python3 the new excep

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52416:c5a89c7f55c5 Date: 2012-02-11 02:16 +0100 http://bitbucket.org/pypy/pypy/changeset/c5a89c7f55c5/ Log:python3 changed the behavior in case we raise an exception from within a finally block: in python2 it was ignored and the main

[pypy-commit] pypy py3k: simplify the code in RAISE_VARARGS now that we no longer support the form with three arguments

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52424:fd1a90055027 Date: 2012-02-13 12:01 +0100 http://bitbucket.org/pypy/pypy/changeset/fd1a90055027/ Log:simplify the code in RAISE_VARARGS now that we no longer support the form with three arguments diff --git a/pypy/interpreter/pyopco

[pypy-commit] pypy py3k: kill this test, we can no longer raise tuples

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52419:3e27a580412d Date: 2012-02-11 11:50 +0100 http://bitbucket.org/pypy/pypy/changeset/3e27a580412d/ Log:kill this test, we can no longer raise tuples diff --git a/pypy/interpreter/test/test_raise.py b/pypy/interpreter/test/test_raise.py --- a

[pypy-commit] pypy py3k: kill this test as well, we can only raise subclasses of BaseException nowadays

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52420:58bf7b8c4517 Date: 2012-02-11 11:51 +0100 http://bitbucket.org/pypy/pypy/changeset/58bf7b8c4517/ Log:kill this test as well, we can only raise subclasses of BaseException nowadays diff --git a/pypy/interpreter/test/test_raise.py b/

[pypy-commit] pypy py3k: - allow to pass string to raises when we run tests with -A

2012-02-13 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r52415:689ab9a80822 Date: 2012-02-10 18:03 +0100 http://bitbucket.org/pypy/pypy/changeset/689ab9a80822/ Log:- allow to pass string to raises when we run tests with -A - split test_reraise into multiple tests (most of them failing) diff --

[pypy-commit] pypy ppc-jit-backend: Remove argboxes from prepare_guard_call_release_gil and prepare_cond_call_gc_wb.

2012-02-13 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52414:3a24d21c440b Date: 2012-02-13 11:08 -0500 http://bitbucket.org/pypy/pypy/changeset/3a24d21c440b/ Log:Remove argboxes from prepare_guard_call_release_gil and prepare_cond_call_gc_wb. diff --git a/pypy/jit/backend/ppc/regalloc.p

[pypy-commit] pypy ppc-jit-backend: Import BoxPtr.

2012-02-13 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52413:49ee8745859b Date: 2012-02-13 10:19 -0500 http://bitbucket.org/pypy/pypy/changeset/49ee8745859b/ Log:Import BoxPtr. diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/jit/backend/ppc/regalloc.py --- a/pypy/jit/backend/ppc/regalloc.p

[pypy-commit] pypy ppc-jit-backend: Fix typos.

2012-02-13 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52412:9db342318ddb Date: 2012-02-13 10:19 -0500 http://bitbucket.org/pypy/pypy/changeset/9db342318ddb/ Log:Fix typos. diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py --- a/pypy/jit/backend/ppc/ppc

[pypy-commit] pypy ppc-jit-backend: (arigo): Fix comma.

2012-02-13 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52411:c1cfc516dd53 Date: 2012-02-13 09:40 -0500 http://bitbucket.org/pypy/pypy/changeset/c1cfc516dd53/ Log:(arigo): Fix comma. diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/pypy/jit/backend/ppc/ppc_assembler.py --- a/pypy/jit/backen

[pypy-commit] pypy ppc-jit-backend: Add prepare_call_malloc_nursery, get_mark_gc_roots.

2012-02-13 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52410:268d435de9ca Date: 2012-02-13 09:26 -0500 http://bitbucket.org/pypy/pypy/changeset/268d435de9ca/ Log:Add prepare_call_malloc_nursery, get_mark_gc_roots. diff --git a/pypy/jit/backend/ppc/regalloc.py b/pypy/jit/backend/ppc/regalloc.py

[pypy-commit] pypy ppc-jit-backend: Add _build_malloc_slowpath, call it from setup_once. Add malloc_cond.

2012-02-13 Thread edelsohn
Author: edelsohn Branch: ppc-jit-backend Changeset: r52409:da5a4a161d9c Date: 2012-02-13 09:26 -0500 http://bitbucket.org/pypy/pypy/changeset/da5a4a161d9c/ Log:Add _build_malloc_slowpath, call it from setup_once. Add malloc_cond. diff --git a/pypy/jit/backend/ppc/ppc_assembler.py b/p

[pypy-commit] pypy default: Remove the pyexpat module in pure Python. Unless someone

2012-02-13 Thread arigo
Author: Armin Rigo Branch: Changeset: r52408:347ee7a31d2d Date: 2012-02-13 11:30 +0100 http://bitbucket.org/pypy/pypy/changeset/347ee7a31d2d/ Log:Remove the pyexpat module in pure Python. Unless someone wants to resurrect it, it is confusing because it is only a Python-2.5-co

[pypy-commit] pypy numpy-record-dtypes: implement void read

2012-02-13 Thread fijal
Author: Maciej Fijalkowski Branch: numpy-record-dtypes Changeset: r52407:bb07db6244fc Date: 2012-02-13 11:41 +0200 http://bitbucket.org/pypy/pypy/changeset/bb07db6244fc/ Log:implement void read diff --git a/pypy/module/micronumpy/interp_boxes.py b/pypy/module/micronumpy/interp_boxes.py ---

[pypy-commit] pypy.org extradoc: Typo in capitalization. Regen.

2012-02-13 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r330:068ecf60cdf8 Date: 2012-02-13 10:33 +0100 http://bitbucket.org/pypy/pypy.org/changeset/068ecf60cdf8/ Log:Typo in capitalization. Regen. diff --git a/performance.html b/performance.html --- a/performance.html +++ b/performance.html @@ -99,10

[pypy-commit] pypy.org extradoc: Complete

2012-02-13 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r328:ec3e1b912cd9 Date: 2012-02-13 10:21 +0100 http://bitbucket.org/pypy/pypy.org/changeset/ec3e1b912cd9/ Log:Complete diff --git a/source/performance.txt b/source/performance.txt --- a/source/performance.txt +++ b/source/performance.txt @@ -75,

[pypy-commit] pypy.org extradoc: merge heads

2012-02-13 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r329:656ba44c4a50 Date: 2012-02-13 10:21 +0100 http://bitbucket.org/pypy/pypy.org/changeset/656ba44c4a50/ Log:merge heads diff --git a/performance.html b/performance.html --- a/performance.html +++ b/performance.html @@ -1,7 +1,7 @@ -

[pypy-commit] pypy.org extradoc: Add a paragraph "Abuse of itertools".

2012-02-13 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r327:aa71b020271b Date: 2012-02-13 10:15 +0100 http://bitbucket.org/pypy/pypy.org/changeset/aa71b020271b/ Log:Add a paragraph "Abuse of itertools". diff --git a/source/performance.txt b/source/performance.txt --- a/source/performance.txt +++ b/s