[pypy-commit] pypy unicode-utf8: start working on pypyjson

2017-11-24 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r93155:109fd5f5d4eb Date: 2017-11-23 20:52 +0100 http://bitbucket.org/pypy/pypy/changeset/109fd5f5d4eb/ Log:start working on pypyjson diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjsp

[pypy-commit] pypy unicode-utf8: merge

2017-11-24 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r93156:8fac293591e9 Date: 2017-11-24 10:04 +0100 http://bitbucket.org/pypy/pypy/changeset/8fac293591e9/ Log:merge diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/module/_io/interp_textio.py +++ b/pypy/mo

[pypy-commit] pypy unicode-utf8: fix _ssl module

2017-11-24 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r93157:8a24f68050df Date: 2017-11-24 10:53 +0100 http://bitbucket.org/pypy/pypy/changeset/8a24f68050df/ Log:fix _ssl module diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py --- a/pypy/module/_ssl/interp_ssl.py +++ b/pyp

[pypy-commit] pypy unicode-utf8: start fixing _rawffi

2017-11-24 Thread fijal
Author: fijal Branch: unicode-utf8 Changeset: r93158:467a32f09dd6 Date: 2017-11-24 11:16 +0100 http://bitbucket.org/pypy/pypy/changeset/467a32f09dd6/ Log:start fixing _rawffi diff --git a/pypy/module/_rawffi/alt/interp_funcptr.py b/pypy/module/_rawffi/alt/interp_funcptr.py --- a/pypy/module/

[pypy-commit] buildbot default: not needed, virtualenv is deleted by "hg purge"

2017-11-24 Thread mattip
Author: Matti Picus Branch: Changeset: r1042:0a18cb374a4e Date: 2017-11-24 13:49 +0200 http://bitbucket.org/pypy/buildbot/changeset/0a18cb374a4e/ Log:not needed, virtualenv is deleted by "hg purge" diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py --- a/bot2/pypybuildbo

[pypy-commit] buildbot default: update pip, setuptools

2017-11-24 Thread mattip
Author: Matti Picus Branch: Changeset: r1043:0548ff25f980 Date: 2017-11-24 13:50 +0200 http://bitbucket.org/pypy/buildbot/changeset/0548ff25f980/ Log:update pip, setuptools diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py --- a/bot2/pypybuildbot/builds.py +++ b/bot2/py

[pypy-commit] pypy unicode-utf8: fix more tests

2017-11-24 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: unicode-utf8 Changeset: r93160:a9bb96fbf9d4 Date: 2017-11-24 13:53 +0100 http://bitbucket.org/pypy/pypy/changeset/a9bb96fbf9d4/ Log:fix more tests BUT: a slight pessimization, because object decoding becomes a little bit slower dif

[pypy-commit] pypy unicode-utf8: fix unicode \-encoding in _pypyjson

2017-11-24 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: unicode-utf8 Changeset: r93159:82223a975b6b Date: 2017-11-24 13:00 +0100 http://bitbucket.org/pypy/pypy/changeset/82223a975b6b/ Log:fix unicode \-encoding in _pypyjson diff --git a/pypy/module/_pypyjson/interp_decoder.py b/pypy/module/_pypyjson/in

[pypy-commit] pypy unicode-utf8: add todo

2017-11-24 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: unicode-utf8 Changeset: r93161:8dac9e38c3d5 Date: 2017-11-24 14:27 +0100 http://bitbucket.org/pypy/pypy/changeset/8dac9e38c3d5/ Log:add todo diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -9,3 +9,5 @@ * remove assertions from W_UnicodeObject.__

[pypy-commit] pypy unicode-utf8: fix encoding to operate on utf-8 encoded strings

2017-11-24 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: unicode-utf8 Changeset: r93163:5b81f483c459 Date: 2017-11-24 15:14 +0100 http://bitbucket.org/pypy/pypy/changeset/5b81f483c459/ Log:fix encoding to operate on utf-8 encoded strings diff --git a/pypy/module/_pypyjson/interp_encoder.py b/pypy/module

[pypy-commit] pypy unicode-utf8: use an actual iterator, to make the code nicer (they work well in rpython nowadays)

2017-11-24 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: unicode-utf8 Changeset: r93162:6a13aba253bd Date: 2017-11-24 15:07 +0100 http://bitbucket.org/pypy/pypy/changeset/6a13aba253bd/ Log:use an actual iterator, to make the code nicer (they work well in rpython nowadays) diff --git a/rpython/rli

[pypy-commit] pypy unicode-utf8: support for append_utf8

2017-11-24 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: unicode-utf8 Changeset: r93164:f5be33826726 Date: 2017-11-24 16:10 +0100 http://bitbucket.org/pypy/pypy/changeset/f5be33826726/ Log:support for append_utf8 diff --git a/rpython/rlib/rutf8.py b/rpython/rlib/rutf8.py --- a/rpython/rlib/rutf8.py +++ b

[pypy-commit] pypy unicode-utf8: replace a lot of uses of StringBuilder by Utf8StringBuilder

2017-11-24 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: unicode-utf8 Changeset: r93165:48da1a44d860 Date: 2017-11-24 16:12 +0100 http://bitbucket.org/pypy/pypy/changeset/48da1a44d860/ Log:replace a lot of uses of StringBuilder by Utf8StringBuilder diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/

[pypy-commit] pypy unicode-utf8: small cleanup of copy-pasted join code

2017-11-24 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: unicode-utf8 Changeset: r93166:f5a5189e5314 Date: 2017-11-24 16:24 +0100 http://bitbucket.org/pypy/pypy/changeset/f5a5189e5314/ Log:small cleanup of copy-pasted join code diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeo

[pypy-commit] pypy default: Keep chipping away at readline_w()

2017-11-24 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93167:2477eb379774 Date: 2017-11-24 17:20 + http://bitbucket.org/pypy/pypy/changeset/2477eb379774/ Log:Keep chipping away at readline_w() diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/module/_io/interp_

[pypy-commit] pypy default: More refactoring: deal with the remnant more explicitly and handle size limit inside _find_line_ending()

2017-11-24 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93168:189c2cce360e Date: 2017-11-24 19:43 + http://bitbucket.org/pypy/pypy/changeset/189c2cce360e/ Log:More refactoring: deal with the remnant more explicitly and handle size limit inside _find_line_ending() diff --git a/extra_tests/test_te

[pypy-commit] pypy default: Replace (pos-if-found, pos-if-not-found) tuple with (position, found)

2017-11-24 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93169:9c9233da7cc4 Date: 2017-11-24 20:18 + http://bitbucket.org/pypy/pypy/changeset/9c9233da7cc4/ Log:Replace (pos-if-found, pos-if-not-found) tuple with (position, found) diff --git a/pypy/module/_io/interp_stringio.py b/pypy/module/_io/

[pypy-commit] pypy unicode-utf8: hg merge default

2017-11-24 Thread rlamy
Author: Ronan Lamy Branch: unicode-utf8 Changeset: r93170:f9a1926628b2 Date: 2017-11-24 20:22 + http://bitbucket.org/pypy/pypy/changeset/f9a1926628b2/ Log:hg merge default diff --git a/extra_tests/test_textio.py b/extra_tests/test_textio.py new file mode 100644 --- /dev/null +++ b/extra_

[pypy-commit] pypy default: Specify the encoding, for systems where utf-8 isn't the default

2017-11-24 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93171:9b3b4676e3b7 Date: 2017-11-25 00:55 + http://bitbucket.org/pypy/pypy/changeset/9b3b4676e3b7/ Log:Specify the encoding, for systems where utf-8 isn't the default diff --git a/extra_tests/test_textio.py b/extra_tests/test_textio.py --- a/extra_

[pypy-commit] pypy default: Extract UnicodeIO object from W_StringIO

2017-11-24 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93173:1d90f3200c9c Date: 2017-11-25 02:29 + http://bitbucket.org/pypy/pypy/changeset/1d90f3200c9c/ Log:Extract UnicodeIO object from W_StringIO diff --git a/pypy/module/_io/interp_stringio.py b/pypy/module/_io/interp_stringio.py --- a/pypy/module/

[pypy-commit] pypy default: Extract DecodeBuffer object from W_TextIOWrapper

2017-11-24 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93172:e1dbf4f46c45 Date: 2017-11-25 01:15 + http://bitbucket.org/pypy/pypy/changeset/e1dbf4f46c45/ Log:Extract DecodeBuffer object from W_TextIOWrapper diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/modu

[pypy-commit] pypy default: Add readline() and readline_universal() methods to UnicodeIO, and stop sharing the implementation with textio

2017-11-24 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r93174:82244130bf34 Date: 2017-11-25 03:46 + http://bitbucket.org/pypy/pypy/changeset/82244130bf34/ Log:Add readline() and readline_universal() methods to UnicodeIO, and stop sharing the implementation with textio diff --git a/pypy/module/_i