[pypy-commit] pypy default: Use with statement here instead of closing the file manually.

2014-05-18 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r71580:5752672ddec8 Date: 2014-05-19 04:39 +0200 http://bitbucket.org/pypy/pypy/changeset/5752672ddec8/ Log:Use with statement here instead of closing the file manually. diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py --- a/pyp

[pypy-commit] pypy py3k: hg merge default

2014-05-18 Thread Manuel Jacob
Author: Manuel Jacob Branch: py3k Changeset: r71578:f481a6c8308a Date: 2014-05-19 02:00 +0200 http://bitbucket.org/pypy/pypy/changeset/f481a6c8308a/ Log:hg merge default diff --git a/lib_pypy/_tkinter/tklib.py b/lib_pypy/_tkinter/tklib.py --- a/lib_pypy/_tkinter/tklib.py +++ b/lib_pypy/_tkint

[pypy-commit] pypy default: Use new 'except ... as ...:' syntax to reduce diff with py3k.

2014-05-18 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r71577:7cb84eed6c64 Date: 2014-05-19 01:34 +0200 http://bitbucket.org/pypy/pypy/changeset/7cb84eed6c64/ Log:Use new 'except ... as ...:' syntax to reduce diff with py3k. diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py --- a/pyp

[pypy-commit] pypy var-in-Some: implement double dispatch in consider_op()

2014-05-18 Thread rlamy
Author: Ronan Lamy Branch: var-in-Some Changeset: r71573:7c1072611e34 Date: 2014-05-19 00:32 +0100 http://bitbucket.org/pypy/pypy/changeset/7c1072611e34/ Log:implement double dispatch in consider_op() diff --git a/rpython/flowspace/operation.py b/rpython/flowspace/operation.py --- a/rpython/

[pypy-commit] pypy var-in-Some: fix

2014-05-18 Thread rlamy
Author: Ronan Lamy Branch: var-in-Some Changeset: r71575:e1a1039ebe80 Date: 2014-05-19 01:20 +0100 http://bitbucket.org/pypy/pypy/changeset/e1a1039ebe80/ Log:fix diff --git a/rpython/annotator/unaryop.py b/rpython/annotator/unaryop.py --- a/rpython/annotator/unaryop.py +++ b/rpython/annotato

[pypy-commit] pypy var-in-Some: register specialised annotators for op.is_

2014-05-18 Thread rlamy
Author: Ronan Lamy Branch: var-in-Some Changeset: r71574:7b1cd4d2bbb9 Date: 2014-05-19 01:11 +0100 http://bitbucket.org/pypy/pypy/changeset/7b1cd4d2bbb9/ Log:register specialised annotators for op.is_ diff --git a/rpython/annotator/binaryop.py b/rpython/annotator/binaryop.py --- a/rpython/an

[pypy-commit] pypy var-in-Some: fix contains_SomeDict.can_only_throw

2014-05-18 Thread rlamy
Author: Ronan Lamy Branch: var-in-Some Changeset: r71576:4757c82f9805 Date: 2014-05-19 01:30 +0100 http://bitbucket.org/pypy/pypy/changeset/4757c82f9805/ Log:fix contains_SomeDict.can_only_throw diff --git a/rpython/annotator/unaryop.py b/rpython/annotator/unaryop.py --- a/rpython/annotator/

[pypy-commit] pypy py3k-memoryview: Fix.

2014-05-18 Thread Manuel Jacob
Author: Manuel Jacob Branch: py3k-memoryview Changeset: r71572:b90dbe86a285 Date: 2014-05-19 01:11 +0200 http://bitbucket.org/pypy/pypy/changeset/b90dbe86a285/ Log:Fix. diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py --- a/pypy/module/array/interp_array.py

[pypy-commit] pypy var-in-Some: create pairmro()

2014-05-18 Thread rlamy
Author: Ronan Lamy Branch: var-in-Some Changeset: r71569:1a302091ddcf Date: 2014-05-18 20:12 +0100 http://bitbucket.org/pypy/pypy/changeset/1a302091ddcf/ Log:create pairmro() diff --git a/rpython/tool/pairtype.py b/rpython/tool/pairtype.py --- a/rpython/tool/pairtype.py +++ b/rpython/tool/pa

[pypy-commit] pypy var-in-Some: create DoubleDispatchRegistry

2014-05-18 Thread rlamy
Author: Ronan Lamy Branch: var-in-Some Changeset: r71570:9a6b10d71995 Date: 2014-05-18 21:33 +0100 http://bitbucket.org/pypy/pypy/changeset/9a6b10d71995/ Log:create DoubleDispatchRegistry diff --git a/rpython/tool/pairtype.py b/rpython/tool/pairtype.py --- a/rpython/tool/pairtype.py +++ b/rp

[pypy-commit] pypy release-2.3.x: Pfffff. This is enough to convince gcc 4.9 to produce correct code: do

2014-05-18 Thread arigo
Author: Armin Rigo Branch: release-2.3.x Changeset: r71568:837f6ad4dbdd Date: 2014-05-18 10:51 +0200 http://bitbucket.org/pypy/pypy/changeset/837f6ad4dbdd/ Log:Pf. This is enough to convince gcc 4.9 to produce correct code: do the "-" on the r_uint, not on the signed integer (beca

[pypy-commit] pypy var-in-Some: register annotators for op.contains

2014-05-18 Thread rlamy
Author: Ronan Lamy Branch: var-in-Some Changeset: r71567:41935c3af33b Date: 2014-05-18 17:23 +0100 http://bitbucket.org/pypy/pypy/changeset/41935c3af33b/ Log:register annotators for op.contains diff --git a/rpython/annotator/unaryop.py b/rpython/annotator/unaryop.py --- a/rpython/annotator/u

[pypy-commit] pypy var-in-Some: deal with can_only_throw in HLOperation

2014-05-18 Thread rlamy
Author: Ronan Lamy Branch: var-in-Some Changeset: r71566:74ed98b37ed2 Date: 2014-05-18 07:58 +0100 http://bitbucket.org/pypy/pypy/changeset/74ed98b37ed2/ Log:deal with can_only_throw in HLOperation diff --git a/rpython/annotator/annrpython.py b/rpython/annotator/annrpython.py --- a/rpython/a

[pypy-commit] pypy default: issue 1752: the peek() method must not create a string slice. This leads

2014-05-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r71565:3777204fff8e Date: 2014-05-18 15:24 +0200 http://bitbucket.org/pypy/pypy/changeset/3777204fff8e/ Log:issue 1752: the peek() method must not create a string slice. This leads to bogus complexity as soon as the buffer size is more than

[pypy-commit] pypy default: issue 1762: accept null bytes in the .py file named in the command-line,

2014-05-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r71564:ec637e30bcd6 Date: 2014-05-18 14:50 +0200 http://bitbucket.org/pypy/pypy/changeset/ec637e30bcd6/ Log:issue 1762: accept null bytes in the .py file named in the command- line, in addition to files that are imported. diff --git a/pypy/inter

[pypy-commit] pypy default: Pfffff. This is enough to convince gcc 4.9 to produce correct code: do

2014-05-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r71563:3cf384e86ef7 Date: 2014-05-18 10:51 +0200 http://bitbucket.org/pypy/pypy/changeset/3cf384e86ef7/ Log:Pf. This is enough to convince gcc 4.9 to produce correct code: do the "-" on the r_uint, not on the signed integer (because that

[pypy-commit] pypy default: This test fails with gcc 4.9.

2014-05-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r71562:120248369f62 Date: 2014-05-18 10:49 +0200 http://bitbucket.org/pypy/pypy/changeset/120248369f62/ Log:This test fails with gcc 4.9. diff --git a/rpython/rlib/test/test_rbigint.py b/rpython/rlib/test/test_rbigint.py --- a/rpython/rlib/test/test_rb