[pypy-commit] pypy stm-thread-2: stm: don't turn inevitable before raw-mallocs and raw-accesses/frees to the freshly allocated memory

2012-12-11 Thread Raemi
Author: Remi Meier Branch: stm-thread-2 Changeset: r59396:9cf6b9415c82 Date: 2012-11-23 15:35 +0100 http://bitbucket.org/pypy/pypy/changeset/9cf6b9415c82/ Log:stm: don't turn inevitable before raw-mallocs and raw-accesses/frees to the freshly allocated memory this leaks memory in case

[pypy-commit] pypy stm-thread-2: stm: fix raw_free test

2012-12-11 Thread Raemi
Author: Remi Meier Branch: stm-thread-2 Changeset: r59397:fdd44d878df0 Date: 2012-11-23 15:57 +0100 http://bitbucket.org/pypy/pypy/changeset/fdd44d878df0/ Log:stm: fix raw_free test diff --git a/pypy/translator/stm/test/test_inevitable.py b/pypy/translator/stm/test/test_inevitable.py --- a/

[pypy-commit] pypy stm-thread-2: rearrange mallocs in strtod to allow inlining of str2charp

2012-12-11 Thread Raemi
Author: Remi Meier Branch: stm-thread-2 Changeset: r59398:4bc912a4d55c Date: 2012-11-23 18:12 +0100 http://bitbucket.org/pypy/pypy/changeset/4bc912a4d55c/ Log:rearrange mallocs in strtod to allow inlining of str2charp add transactionsafe to RPyThreadGetIdent diff --git a/pypy/module/

[pypy-commit] pypy stm-thread-2: Use 'try' here, which is more compatible (but may hide for now the same

2012-12-11 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r59400:25b01bf4fb19 Date: 2012-12-11 15:53 +0100 http://bitbucket.org/pypy/pypy/changeset/25b01bf4fb19/ Log:Use 'try' here, which is more compatible (but may hide for now the same issue that we had in strtod()). diff --git a/pypy/rpy

[pypy-commit] pypy stm-thread-2: stm: turn inevitable before (in)direct_call, add transactionsafe flag

2012-12-11 Thread Raemi
Author: Remi Meier Branch: stm-thread-2 Changeset: r59395:78e7bda02dc9 Date: 2012-11-21 18:44 +0100 http://bitbucket.org/pypy/pypy/changeset/78e7bda02dc9/ Log:stm: turn inevitable before (in)direct_call, add transactionsafe flag diff --git a/pypy/rpython/lltypesystem/rffi.py b/pypy/

[pypy-commit] pypy stm-thread-2: merge heads

2012-12-11 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r59399:40d946c71c64 Date: 2012-12-11 15:52 +0100 http://bitbucket.org/pypy/pypy/changeset/40d946c71c64/ Log:merge heads diff --git a/pypy/module/thread/ll_thread.py b/pypy/module/thread/ll_thread.py --- a/pypy/module/thread/ll_thread.py +++

[pypy-commit] pypy stm-thread-2: stm: make more functions transactionsafe [copied from meierrem on

2012-12-11 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r59401:7bcb458e12ce Date: 2012-12-11 16:03 +0100 http://bitbucket.org/pypy/pypy/changeset/7bcb458e12ce/ Log:stm: make more functions transactionsafe [copied from meierrem on stm-logging] diff --git a/pypy/rlib/rdtoa.py b/pypy/rlib/rd

[pypy-commit] pypy stm-thread-2: stm: don't turn inevitable on weakref_* [copied from meierrem on stm-logging]

2012-12-11 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r59402:d841f7a93c5d Date: 2012-12-11 16:04 +0100 http://bitbucket.org/pypy/pypy/changeset/d841f7a93c5d/ Log:stm: don't turn inevitable on weakref_* [copied from meierrem on stm-logging] diff --git a/pypy/translator/stm/inevitable.py

[pypy-commit] pypy stm-thread-2: Prefix all lines printed in PYPYLOG with a thread number (in color too,

2012-12-11 Thread arigo
Author: Armin Rigo Branch: stm-thread-2 Changeset: r59403:bc037707e578 Date: 2012-12-11 17:01 +0100 http://bitbucket.org/pypy/pypy/changeset/bc037707e578/ Log:Prefix all lines printed in PYPYLOG with a thread number (in color too, if the output is a tty). diff --git a/pypy/translator

[pypy-commit] pypy py3k: special case AttributeErrors when binding comparison descriptors

2012-12-11 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59404:297567ccbd54 Date: 2012-12-11 11:30 -0800 http://bitbucket.org/pypy/pypy/changeset/297567ccbd54/ Log:special case AttributeErrors when binding comparison descriptors diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperati

[pypy-commit] pypy py3k: disallow plain ints to from_bytes and non-bytes results from __bytes__

2012-12-11 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59405:c376b798a56b Date: 2012-12-11 11:58 -0800 http://bitbucket.org/pypy/pypy/changeset/c376b798a56b/ Log:disallow plain ints to from_bytes and non-bytes results from __bytes__ diff --git a/pypy/objspace/std/longtype.py b/pypy/objspace/

[pypy-commit] pypy py3k: use binascii.Error

2012-12-11 Thread pjenvey
Author: Philip Jenvey Branch: py3k Changeset: r59406:03ef6fdf2d94 Date: 2012-12-11 12:01 -0800 http://bitbucket.org/pypy/pypy/changeset/03ef6fdf2d94/ Log:use binascii.Error diff --git a/pypy/module/binascii/interp_hexlify.py b/pypy/module/binascii/interp_hexlify.py --- a/pypy/module/binasci

[pypy-commit] pypy py3k: strftime() now accepts years starting at 1000.

2012-12-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59407:b80f1edeadb6 Date: 2012-12-11 22:32 +0100 http://bitbucket.org/pypy/pypy/changeset/b80f1edeadb6/ Log:strftime() now accepts years starting at 1000. diff --git a/pypy/module/rctime/interp_time.py b/pypy/module/rctime/interp_time.py

[pypy-commit] pypy py3k: PyPy uses py.test instead of regrtest.py to run CPython test suite.

2012-12-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r59408:cb82d91ddbdf Date: 2012-12-11 22:45 +0100 http://bitbucket.org/pypy/pypy/changeset/cb82d91ddbdf/ Log:PyPy uses py.test instead of regrtest.py to run CPython test suite. Call regrtest.replace_stdout() to avoid UnicodeEncodeErr