[pypy-commit] pypy task-decorator: more pythonic: use decorator to replace direct invocation of taskdef

2012-12-03 Thread jameslan
Author: James Lan Branch: task-decorator Changeset: r59289:6cf85e6305a6 Date: 2012-12-02 23:46 -0800 http://bitbucket.org/pypy/pypy/changeset/6cf85e6305a6/ Log:more pythonic: use decorator to replace direct invocation of taskdef diff --git a/pypy/translator/driver.py b/pypy/translator/driver

[pypy-commit] pypy default: Merged in jameslan/pypy/task-decorator (pull request #94)

2012-12-03 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59290:a5c40e67891c Date: 2012-12-03 07:08 -0800 http://bitbucket.org/pypy/pypy/changeset/a5c40e67891c/ Log:Merged in jameslan/pypy/task-decorator (pull request #94) diff --git a/pypy/translator/driver.py b/pypy/translator/driver.py --- a/pypy/translat

[pypy-commit] pypy default: Fix two small typos.

2012-12-03 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r59291:041189dbc82d Date: 2012-12-03 07:19 -0800 http://bitbucket.org/pypy/pypy/changeset/041189dbc82d/ Log:Fix two small typos. diff --git a/pypy/translator/driver.py b/pypy/translator/driver.py --- a/pypy/translator/driver.py +++ b/pypy/translator/dr

[pypy-commit] pypy default: Quasi-test and fix for warnings given by the C compiler.

2012-12-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r59292:959b9d690918 Date: 2012-12-03 07:42 -0800 http://bitbucket.org/pypy/pypy/changeset/959b9d690918/ Log:Quasi-test and fix for warnings given by the C compiler. diff --git a/pypy/translator/c/node.py b/pypy/translator/c/node.py --- a/pypy/translator

[pypy-commit] pypy default: Bah? The warning given by GCC is relevant: this code was broken at

2012-12-03 Thread arigo
Author: Armin Rigo Branch: Changeset: r59293:4a88e8c50f95 Date: 2012-12-03 07:53 -0800 http://bitbucket.org/pypy/pypy/changeset/4a88e8c50f95/ Log:Bah? The warning given by GCC is relevant: this code was broken at least on 64-bit big-endian machines. diff --git a/pypy/translator/c/sr

[pypy-commit] pypy remove-globals-in-jit: Backed out changeset 4ed15aefc3f0: the jit frames are still in the C stack,

2012-12-03 Thread arigo
Author: Armin Rigo Branch: remove-globals-in-jit Changeset: r59294:2433a3c3072c Date: 2012-12-03 09:19 -0800 http://bitbucket.org/pypy/pypy/changeset/2433a3c3072c/ Log:Backed out changeset 4ed15aefc3f0: the jit frames are still in the C stack, so it really solves nothing apart from ma

[pypy-commit] extradoc extradoc: py3k's November update

2012-12-03 Thread pjenvey
Author: Philip Jenvey Branch: extradoc Changeset: r4929:19ed41511a4b Date: 2012-12-03 12:03 -0800 http://bitbucket.org/pypy/extradoc/changeset/19ed41511a4b/ Log:py3k's November update diff --git a/blog/draft/py3k-status-update-8.rst b/blog/draft/py3k-status-update-8.rst new file mode 100644

[pypy-commit] pypy kill-faking: Fix when bin/py.py calls posix.fork() and the cpyext module is loaded.

2012-12-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: kill-faking Changeset: r59295:ef8ae87e18b3 Date: 2012-12-03 22:39 +0100 http://bitbucket.org/pypy/pypy/changeset/ef8ae87e18b3/ Log:Fix when bin/py.py calls posix.fork() and the cpyext module is loaded. diff --git a/pypy/module/cpyext/api.py b/pypy

[pypy-commit] pypy kill-faking: Fixes for cpyext module: use space.applevel instead of wrapping everything

2012-12-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: kill-faking Changeset: r59296:206365af3c75 Date: 2012-12-03 22:41 +0100 http://bitbucket.org/pypy/pypy/changeset/206365af3c75/ Log:Fixes for cpyext module: use space.applevel instead of wrapping everything diff --git a/pypy/module/cpyext/state.py

[pypy-commit] pypy kill-faking: Close branch about to be merged

2012-12-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: kill-faking Changeset: r59297:3804039ccd91 Date: 2012-12-03 22:57 +0100 http://bitbucket.org/pypy/pypy/changeset/3804039ccd91/ Log:Close branch about to be merged ___ pypy-commit mailing list pypy-commit@python.

[pypy-commit] pypy py3k: Fix cpyext compilation.

2012-12-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59299:4a230275589d Date: 2012-12-03 22:50 +0100 http://bitbucket.org/pypy/pypy/changeset/4a230275589d/ Log:Fix cpyext compilation. diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/py

[pypy-commit] pypy py3k: Fix translation, maybe

2012-12-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59300:e2e5c86e2bc1 Date: 2012-12-03 23:35 +0100 http://bitbucket.org/pypy/pypy/changeset/e2e5c86e2bc1/ Log:Fix translation, maybe diff --git a/pypy/module/_multibytecodec/c_codecs.py b/pypy/module/_multibytecodec/c_codecs.py --- a/pypy/m

[pypy-commit] pypy py3k: really fix translation

2012-12-03 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59302:2465cf96bcd1 Date: 2012-12-03 15:26 -0800 http://bitbucket.org/pypy/pypy/changeset/2465cf96bcd1/ Log:really fix translation diff --git a/pypy/module/_multibytecodec/c_codecs.py b/pypy/module/_multibytecodec/c_codecs.py --- a/pypy/module/_

[pypy-commit] pypy default: really fix translation

2012-12-03 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r59303:bd59e70720a2 Date: 2012-12-03 15:26 -0800 http://bitbucket.org/pypy/pypy/changeset/bd59e70720a2/ Log:really fix translation (transplanted from 2465cf96bcd1d53401f7a545e811e83b059591e0) diff --git a/pypy/module/_multibytecodec/c_codecs.

[pypy-commit] pypy signatures: Simple nop signature decorator, just bookkeeping so far

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59304:cbd9520d99f4 Date: 2012-12-02 13:01 -0800 http://bitbucket.org/pypy/pypy/changeset/cbd9520d99f4/ Log:Simple nop signature decorator, just bookkeeping so far diff --git a/pypy/rlib/objectmodel.py b/pypy/rlib/objectmodel.py --- a/pypy/rli

[pypy-commit] pypy signatures: Add stub pypy.annotation.types module and then fix imports.

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59305:c1e8697950fc Date: 2012-12-02 13:35 -0800 http://bitbucket.org/pypy/pypy/changeset/c1e8697950fc/ Log:Add stub pypy.annotation.types module and then fix imports. diff --git a/pypy/annotation/bookkeeper.py b/pypy/annotation/bookkeeper.py

[pypy-commit] pypy signatures: One more absolute import

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59306:767612584e56 Date: 2012-12-02 13:51 -0800 http://bitbucket.org/pypy/pypy/changeset/767612584e56/ Log:One more absolute import diff --git a/pypy/annotation/annrpython.py b/pypy/annotation/annrpython.py --- a/pypy/annotation/annrpython.py

[pypy-commit] pypy signatures: (price, arigato) Apply signature to return type

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59309:71849b77d899 Date: 2012-12-02 16:10 -0800 http://bitbucket.org/pypy/pypy/changeset/71849b77d899/ Log:(price, arigato) Apply signature to return type diff --git a/pypy/annotation/description.py b/pypy/annotation/description.py --- a/pypy

[pypy-commit] pypy signatures: Apply signature to arguments, and add some basic types

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59307:74797b5db019 Date: 2012-12-02 14:16 -0800 http://bitbucket.org/pypy/pypy/changeset/74797b5db019/ Log:Apply signature to arguments, and add some basic types diff --git a/pypy/annotation/description.py b/pypy/annotation/description.py ---

[pypy-commit] pypy signatures: (price, arigato) On signature return-type mismatch, give halfway-decent message

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59310:6c90ebcd3282 Date: 2012-12-02 16:36 -0800 http://bitbucket.org/pypy/pypy/changeset/6c90ebcd3282/ Log:(price, arigato) On signature return-type mismatch, give halfway- decent message diff --git a/pypy/annotation/annrpython.py b/p

[pypy-commit] pypy signatures: Check actual arguments against signature

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59308:7ad4dbce9497 Date: 2012-12-02 15:20 -0800 http://bitbucket.org/pypy/pypy/changeset/7ad4dbce9497/ Log:Check actual arguments against signature diff --git a/pypy/annotation/signature.py b/pypy/annotation/signature.py --- a/pypy/annotation

[pypy-commit] pypy signatures: Basic support for list types in signatures

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59312:0e521e989742 Date: 2012-12-02 17:04 -0800 http://bitbucket.org/pypy/pypy/changeset/0e521e989742/ Log:Basic support for list types in signatures diff --git a/pypy/annotation/types.py b/pypy/annotation/types.py --- a/pypy/annotation/types

[pypy-commit] pypy signatures: refactor signature tests

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59311:65c137eb5b0d Date: 2012-12-02 16:41 -0800 http://bitbucket.org/pypy/pypy/changeset/65c137eb5b0d/ Log:refactor signature tests diff --git a/pypy/rlib/test/test_objectmodel.py b/pypy/rlib/test/test_objectmodel.py --- a/pypy/rlib/test/tes

[pypy-commit] pypy signatures: Add char to signature types

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59313:d17bf3d7499a Date: 2012-12-02 17:19 -0800 http://bitbucket.org/pypy/pypy/changeset/d17bf3d7499a/ Log:Add char to signature types diff --git a/pypy/annotation/types.py b/pypy/annotation/types.py --- a/pypy/annotation/types.py +++ b/pypy/

[pypy-commit] pypy signatures: Refactor signature tests a bit more

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59314:4e1c1d0ff8c8 Date: 2012-12-02 17:24 -0800 http://bitbucket.org/pypy/pypy/changeset/4e1c1d0ff8c8/ Log:Refactor signature tests a bit more diff --git a/pypy/rlib/test/test_objectmodel.py b/pypy/rlib/test/test_objectmodel.py --- a/pypy/rl

[pypy-commit] pypy signatures: Test list types in signatures are immutable

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59315:10e68c139d5f Date: 2012-12-02 17:47 -0800 http://bitbucket.org/pypy/pypy/changeset/10e68c139d5f/ Log:Test list types in signatures are immutable diff --git a/pypy/rlib/test/test_objectmodel.py b/pypy/rlib/test/test_objectmodel.py --- a

[pypy-commit] pypy signatures: Small rearrangement in test_signature for clarity

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59318:668eb51df0be Date: 2012-12-02 18:01 -0800 http://bitbucket.org/pypy/pypy/changeset/668eb51df0be/ Log:Small rearrangement in test_signature for clarity diff --git a/pypy/rlib/test/test_signature.py b/pypy/rlib/test/test_signature.py ---

[pypy-commit] pypy signatures: Add "array" signature type for non-resizable lists

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59316:303dbf276f7e Date: 2012-12-02 17:55 -0800 http://bitbucket.org/pypy/pypy/changeset/303dbf276f7e/ Log:Add "array" signature type for non-resizable lists diff --git a/pypy/annotation/types.py b/pypy/annotation/types.py --- a/pypy/annotati

[pypy-commit] pypy signatures: Move signature to its own module

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59317:69dc4f2048ca Date: 2012-12-02 17:59 -0800 http://bitbucket.org/pypy/pypy/changeset/69dc4f2048ca/ Log:Move signature to its own module diff --git a/pypy/rlib/objectmodel.py b/pypy/rlib/objectmodel.py --- a/pypy/rlib/objectmodel.py +++ b/

[pypy-commit] pypy signatures: Cut out complex interpretation of signature types

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59319:dd3c75d58df4 Date: 2012-12-02 18:29 -0800 http://bitbucket.org/pypy/pypy/changeset/dd3c75d58df4/ Log:Cut out complex interpretation of signature types This was copied from "enforceargs", but our little DSL will be differ

[pypy-commit] pypy signatures: Basic support for instance types in signatures

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59320:2fcd49fa43c7 Date: 2012-12-02 23:34 -0800 http://bitbucket.org/pypy/pypy/changeset/2fcd49fa43c7/ Log:Basic support for instance types in signatures diff --git a/pypy/annotation/signature.py b/pypy/annotation/signature.py --- a/pypy/anno

[pypy-commit] pypy py3k: merge default

2012-12-03 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59321:612e3a941f97 Date: 2012-12-03 22:05 -0800 http://bitbucket.org/pypy/pypy/changeset/612e3a941f97/ Log:merge default ___ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailm

[pypy-commit] pypy signatures: Support floats in signatures

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59322:f48ed5fc47db Date: 2012-12-03 21:06 -0800 http://bitbucket.org/pypy/pypy/changeset/f48ed5fc47db/ Log:Support floats in signatures diff --git a/pypy/annotation/types.py b/pypy/annotation/types.py --- a/pypy/annotation/types.py +++ b/pypy

[pypy-commit] pypy signatures: Support None in signatures (handy for return types!)

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59323:0bfc606c7fb6 Date: 2012-12-03 21:09 -0800 http://bitbucket.org/pypy/pypy/changeset/0bfc606c7fb6/ Log:Support None in signatures (handy for return types!) diff --git a/pypy/annotation/types.py b/pypy/annotation/types.py --- a/pypy/annota

[pypy-commit] pypy signatures: Support Unicode string type in signatures

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59324:f731001d08f0 Date: 2012-12-03 21:13 -0800 http://bitbucket.org/pypy/pypy/changeset/f731001d08f0/ Log:Support Unicode string type in signatures diff --git a/pypy/annotation/types.py b/pypy/annotation/types.py --- a/pypy/annotation/types.

[pypy-commit] pypy signatures: Basic support for dict types in signatures

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59325:27a3d71fe8ec Date: 2012-12-03 21:23 -0800 http://bitbucket.org/pypy/pypy/changeset/27a3d71fe8ec/ Log:Basic support for dict types in signatures diff --git a/pypy/annotation/types.py b/pypy/annotation/types.py --- a/pypy/annotation/types

[pypy-commit] pypy signatures: Add types.self notation, for signatures on methods

2012-12-03 Thread Greg Price
Author: Greg Price Branch: signatures Changeset: r59326:aefa224aec97 Date: 2012-12-03 22:48 -0800 http://bitbucket.org/pypy/pypy/changeset/aefa224aec97/ Log:Add types.self notation, for signatures on methods diff --git a/pypy/annotation/signature.py b/pypy/annotation/signature.py --- a/pypy/