[pypy-commit] pypy unicode-utf8-py3: merge py3.5 into branch

2018-11-18 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95344:3e70370ebc0e Date: 2018-11-18 21:15 -0800 http://bitbucket.org/pypy/pypy/changeset/3e70370ebc0e/ Log:merge py3.5 into branch diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py --- a/pypy/modul

[pypy-commit] pypy py3.5: use old buffer interface

2018-11-18 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r95342:e1b0f8e6c29c Date: 2018-11-18 21:11 -0800 http://bitbucket.org/pypy/pypy/changeset/e1b0f8e6c29c/ Log:use old buffer interface diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py --- a/pypy/module/cpyext/u

[pypy-commit] pypy py3.6: merge py3.5 into branch

2018-11-18 Thread mattip
Author: Matti Picus Branch: py3.6 Changeset: r95343:dd77cb64ae34 Date: 2018-11-18 21:12 -0800 http://bitbucket.org/pypy/pypy/changeset/dd77cb64ae34/ Log:merge py3.5 into branch diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py --- a/pypy/module/cpyext/un

[pypy-commit] pypy unicode-utf8-py3: distinguish between errorhandler returning unicode and bytes

2018-11-18 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95339:9dc3de0b34d5 Date: 2018-11-18 18:36 -0800 http://bitbucket.org/pypy/pypy/changeset/9dc3de0b34d5/ Log:distinguish between errorhandler returning unicode and bytes diff --git a/pypy/interpreter/unicodehelper.py b/pypy/interpreter/

[pypy-commit] pypy unicode-utf8-py3: convert bytes_w to unicode_w

2018-11-18 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95340:f35ec4a5f0b1 Date: 2018-11-18 19:35 -0800 http://bitbucket.org/pypy/pypy/changeset/f35ec4a5f0b1/ Log:convert bytes_w to unicode_w diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/interp_codecs.py --- a/pyp

[pypy-commit] pypy unicode-utf8-py3: return value from encode errorhandler is bytes, not unicode

2018-11-18 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95337:6eeefdec5c2e Date: 2018-11-18 01:04 -0800 http://bitbucket.org/pypy/pypy/changeset/6eeefdec5c2e/ Log:return value from encode errorhandler is bytes, not unicode diff --git a/pypy/interpreter/unicodehelper.py b/pypy/interpreter/u

[pypy-commit] pypy unicode-utf8-py3: merge py3.5 into branch

2018-11-18 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95341:72b0f6fca9f0 Date: 2018-11-18 19:35 -0800 http://bitbucket.org/pypy/pypy/changeset/72b0f6fca9f0/ Log:merge py3.5 into branch diff --git a/extra_tests/__init__.py b/extra_tests/__init__.py new file mode 100644 diff --git a/pypy/mo

[pypy-commit] pypy unicode-utf8-py3: refactor builting erro handlers to use utf8 indices, add failing test

2018-11-18 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95335:de06359bbf5c Date: 2018-11-16 12:28 -0800 http://bitbucket.org/pypy/pypy/changeset/de06359bbf5c/ Log:refactor builting erro handlers to use utf8 indices, add failing test diff --git a/pypy/module/_codecs/interp_codecs.py

[pypy-commit] pypy unicode-utf8-py3: simplify andfix overly-engineered bogus code

2018-11-18 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95338:636e47b82bce Date: 2018-11-18 01:05 -0800 http://bitbucket.org/pypy/pypy/changeset/636e47b82bce/ Log:simplify andfix overly-engineered bogus code diff --git a/pypy/objspace/std/stringmethods.py b/pypy/objspace/std/stringmethods.

[pypy-commit] pypy unicode-utf8-py3: try one approach

2018-11-18 Thread mattip
Author: Matti Picus Branch: unicode-utf8-py3 Changeset: r95336:28269456b8aa Date: 2018-11-16 12:28 -0800 http://bitbucket.org/pypy/pypy/changeset/28269456b8aa/ Log:try one approach diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/u

[pypy-commit] pypy py3.5: fix typo (using unicode-utf8 syntax too early)

2018-11-18 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r95334:064564894563 Date: 2018-11-18 10:59 -0800 http://bitbucket.org/pypy/pypy/changeset/064564894563/ Log:fix typo (using unicode-utf8 syntax too early) diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py ---

[pypy-commit] pypy py3.6: fix typo (using unicode-utf8 syntax too early)

2018-11-18 Thread mattip
Author: Matti Picus Branch: py3.6 Changeset: r95333:27c28f481460 Date: 2018-11-18 10:59 -0800 http://bitbucket.org/pypy/pypy/changeset/27c28f481460/ Log:fix typo (using unicode-utf8 syntax too early) diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobject.py ---

[pypy-commit] pypy py3.6: merge py3.5 into branch

2018-11-18 Thread mattip
Author: Matti Picus Branch: py3.6 Changeset: r95332:fb5a5a9969b0 Date: 2018-11-18 00:56 -0800 http://bitbucket.org/pypy/pypy/changeset/fb5a5a9969b0/ Log:merge py3.5 into branch diff --git a/extra_tests/__init__.py b/extra_tests/__init__.py new file mode 100644 diff --git a/pypy/module/test_l

[pypy-commit] pypy py3.6: copy _PyErr_FormatFromCause from CPython

2018-11-18 Thread mattip
Author: Matti Picus Branch: py3.6 Changeset: r95330:d00dd348bccc Date: 2018-11-18 00:15 -0800 http://bitbucket.org/pypy/pypy/changeset/d00dd348bccc/ Log:copy _PyErr_FormatFromCause from CPython diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py

[pypy-commit] pypy py3.5: put common case first, exit quickly on empty byte string

2018-11-18 Thread mattip
Author: Matti Picus Branch: py3.5 Changeset: r95331:0d38f5b5e3e5 Date: 2018-11-18 00:55 -0800 http://bitbucket.org/pypy/pypy/changeset/0d38f5b5e3e5/ Log:put common case first, exit quickly on empty byte string diff --git a/pypy/module/cpyext/unicodeobject.py b/pypy/module/cpyext/unicodeobje

[pypy-commit] pypy py3.6: merge py3.5 into branch

2018-11-18 Thread mattip
Author: Matti Picus Branch: py3.6 Changeset: r95329:18106031c176 Date: 2018-11-17 23:33 -0800 http://bitbucket.org/pypy/pypy/changeset/18106031c176/ Log:merge py3.5 into branch diff too long, truncating to 2000 out of 2161 lines diff --git a/lib-python/3/distutils/sysconfig_pypy.py b/lib-p