[pypy-commit] pypy py3.6: Add support for FsPath to os.unlink()

2019-01-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r95558:77d2a71504df Date: 2019-01-01 18:44 +0100 http://bitbucket.org/pypy/pypy/changeset/77d2a71504df/ Log:Add support for FsPath to os.unlink() diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --- a/py

[pypy-commit] pypy py3.6: hg merge py3.5

2019-01-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r95559:df0beeb7b5ec Date: 2019-01-01 18:50 +0100 http://bitbucket.org/pypy/pypy/changeset/df0beeb7b5ec/ Log:hg merge py3.5 diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -30,7 +30,7 @@ DEALINGS IN THE SOFTWARE. -Py

[pypy-commit] pypy py3.6: The variable annotation: '(var): int' should consider (var) as an expression,

2018-12-30 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r95539:26c82f5c208f Date: 2018-12-30 13:17 +0100 http://bitbucket.org/pypy/pypy/changeset/26c82f5c208f/ Log:The variable annotation: '(var): int' should consider (var) as an expression, and not cause var to become a local variable.

[pypy-commit] pypy py3.6: Check conflict between 'global' and variable annotation.

2018-12-30 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r95540:3f85fe07a914 Date: 2018-12-30 14:57 +0100 http://bitbucket.org/pypy/pypy/changeset/3f85fe07a914/ Log:Check conflict between 'global' and variable annotation. This fixes the last failure in test_grammar. diff --git a/pypy/in

[pypy-commit] pypy py3.6: Fix some doctests: PyPy does not add the function name to the error message,

2018-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r95538:d510a67badcd Date: 2018-12-30 03:41 +0100 http://bitbucket.org/pypy/pypy/changeset/d510a67badcd/ Log:Fix some doctests: PyPy does not add the function name to the error message, and one exception was wrong. diff --git a/lib

[pypy-commit] pypy py3.6: Port CPython commit 91108f0: Issue #25210: Change error message of do_richcompare()

2018-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r95537:0f59af55378c Date: 2018-08-05 17:33 +0200 http://bitbucket.org/pypy/pypy/changeset/0f59af55378c/ Log:Port CPython commit 91108f0: Issue #25210: Change error message of do_richcompare() diff --git a/pypy/objspace/descroperat

[pypy-commit] pypy py3.6: CPython Issue 18550: Check error values in socket.setblocking()

2018-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r95536:cafe126a986a Date: 2018-08-06 15:49 +0200 http://bitbucket.org/pypy/pypy/changeset/cafe126a986a/ Log:CPython Issue 18550: Check error values in socket.setblocking() diff --git a/pypy/module/_socket/interp_socket.py b/pypy/module/_

[pypy-commit] pypy py3.5: hg merge default

2018-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r95535:f81df27a6bf7 Date: 2018-12-30 03:20 +0100 http://bitbucket.org/pypy/pypy/changeset/f81df27a6bf7/ Log:hg merge default diff --git a/pypy/objspace/std/test/test_unicodeobject.py b/pypy/objspace/std/test/test_unicodeobject.py --- a/p

[pypy-commit] pypy default: unicode(encoding='x') returns the empty string u''.

2018-12-29 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r95534:24f6622d7e24 Date: 2018-12-29 23:06 +0100 http://bitbucket.org/pypy/pypy/changeset/24f6622d7e24/ Log:unicode(encoding='x') returns the empty string u''. This behavior is explicitly tested in py3.5. diff --git a/pypy/objspace/std

[pypy-commit] pypy py3.6: We don't need SSL_is_init_finished after all

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94421:a29a0980fd16 Date: 2018-04-23 00:34 +0200 http://bitbucket.org/pypy/pypy/changeset/a29a0980fd16/ Log:We don't need SSL_is_init_finished after all diff --git a/lib_pypy/_cffi_ssl/_cffi_src/openssl/ssl.py b/lib_pypy/_cffi_ssl/_cffi_

[pypy-commit] pypy py3.6: The class is named ssl.SSLSession. Restore the import in ssl.py

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94422:85c682c5ec33 Date: 2018-04-23 00:38 +0200 http://bitbucket.org/pypy/pypy/changeset/85c682c5ec33/ Log:The class is named ssl.SSLSession. Restore the import in ssl.py diff --git a/lib-python/3/ssl.py b/lib-python/3/ssl.py --- a/lib-p

[pypy-commit] pypy py3.6: The session.id is a bytes string with NULs, use ffi.unpack() instead of ffi.string()

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94419:3f675393a946 Date: 2018-04-22 21:40 +0200 http://bitbucket.org/pypy/pypy/changeset/3f675393a946/ Log:The session.id is a bytes string with NULs, use ffi.unpack() instead of ffi.string() diff --git a/lib_pypy/_cffi_ssl/_stds

[pypy-commit] pypy py3.6: Is it only on my machine? 10% of the time, the test fails because the error is:

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94418:2360f76c2d3c Date: 2018-04-22 21:39 +0200 http://bitbucket.org/pypy/pypy/changeset/2360f76c2d3c/ Log:Is it only on my machine? 10% of the time, the test fails because the error is: '[SSL: NO_SHARED_CIPHER] error:14077410:SSL

[pypy-commit] pypy py3.6: Complete the implementation of PROTOCOL_TLS_CLIENT: host names are checked.

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94417:869382060075 Date: 2018-04-22 21:31 +0200 http://bitbucket.org/pypy/pypy/changeset/869382060075/ Log:Complete the implementation of PROTOCOL_TLS_CLIENT: host names are checked. diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init

[pypy-commit] pypy py3.6: Implement SSLSession.

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94414:6dc2dbf20397 Date: 2018-04-22 20:41 +0200 http://bitbucket.org/pypy/pypy/changeset/6dc2dbf20397/ Log:Implement SSLSession. diff --git a/lib_pypy/_cffi_ssl/_cffi_src/openssl/ssl.py b/lib_pypy/_cffi_ssl/_cffi_src/openssl/ssl.py ---

[pypy-commit] pypy py3.6: Apply the rest of CPython Issue 28043. This part is not well tested...

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94416:fc92860d2c30 Date: 2018-04-22 21:11 +0200 http://bitbucket.org/pypy/pypy/changeset/fc92860d2c30/ Log:Apply the rest of CPython Issue 28043. This part is not well tested... diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init__.py

[pypy-commit] pypy py3.6: Add support for PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94412:e82fec399c34 Date: 2018-04-22 19:37 +0200 http://bitbucket.org/pypy/pypy/changeset/e82fec399c34/ Log:Add support for PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER (CPython Issue #28085) diff --git a/lib_pypy/_cffi_ssl/_stdssl

[pypy-commit] pypy py3.6: Fix default socket options, added by CPython Issue 28043.

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94415:26bff7c256af Date: 2018-04-22 21:04 +0200 http://bitbucket.org/pypy/pypy/changeset/26bff7c256af/ Log:Fix default socket options, added by CPython Issue 28043. diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init__.py b/lib_pypy/_cffi_ss

[pypy-commit] pypy py3.6: Return a dummy .session to let more SSL tests pass.

2018-04-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r94413:2271eaab22b2 Date: 2018-04-22 19:42 +0200 http://bitbucket.org/pypy/pypy/changeset/2271eaab22b2/ Log:Return a dummy .session to let more SSL tests pass. diff --git a/lib_pypy/_cffi_ssl/_stdssl/__init__.py b/lib_pypy/_cffi_ssl/_std

[pypy-commit] pypy py3.6: More checks for forbidden 'await'

2018-03-05 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93956:e8e5e733ff62 Date: 2018-03-05 00:19 +0100 http://bitbucket.org/pypy/pypy/changeset/e8e5e733ff62/ Log:More checks for forbidden 'await' diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astcompiler/codegen.py

[pypy-commit] pypy py3.6: Remember the __cause__ when an exception is raised in __await__.

2018-03-05 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93958:ab182b33a9c1 Date: 2018-03-05 09:26 +0100 http://bitbucket.org/pypy/pypy/changeset/ab182b33a9c1/ Log:Remember the __cause__ when an exception is raised in __await__. diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyop

[pypy-commit] pypy py3.6: Using 'await' in other contexts raises a DeprecationWarning

2018-03-05 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93957:3da474cc3b78 Date: 2018-03-05 09:04 +0100 http://bitbucket.org/pypy/pypy/changeset/3da474cc3b78/ Log:Using 'await' in other contexts raises a DeprecationWarning diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interp

[pypy-commit] pypy py3.6: Move coroutine tests to test_coroutine.py

2018-03-05 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93955:df41ee03b376 Date: 2018-03-04 14:52 +0100 http://bitbucket.org/pypy/pypy/changeset/df41ee03b376/ Log:Move coroutine tests to test_coroutine.py diff --git a/pypy/interpreter/astcompiler/test/test_compiler.py b/pypy/interpreter/astc

[pypy-commit] pypy py3.6: Legacy __aiter__ protocol now emits a DeprecationWarning.

2018-03-05 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93954:256b3eca58cb Date: 2018-03-04 10:05 +0100 http://bitbucket.org/pypy/pypy/changeset/256b3eca58cb/ Log:Legacy __aiter__ protocol now emits a DeprecationWarning. diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py

[pypy-commit] pypy py3.6: Some ast validation errors are shown as TypeError

2018-03-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93945:4f89f769905c Date: 2018-03-03 17:07 +0100 http://bitbucket.org/pypy/pypy/changeset/4f89f769905c/ Log:Some ast validation errors are shown as TypeError diff --git a/pypy/interpreter/astcompiler/test/test_validate.py b/pypy/interpre

[pypy-commit] pypy py3.6: CPython Issue #26129: grp.getgrgid() sends a DeprecationWarning when passing non-integers

2018-03-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93932:0ebac2fc9fb1 Date: 2018-02-26 01:13 +0100 http://bitbucket.org/pypy/pypy/changeset/0ebac2fc9fb1/ Log:CPython Issue #26129: grp.getgrgid() sends a DeprecationWarning when passing non-integers diff --git a/lib_pypy/grp.py b/l

[pypy-commit] pypy py3.6: hg merge py3.5

2018-03-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93931:eb5abc38e4b2 Date: 2018-02-25 23:09 +0100 http://bitbucket.org/pypy/pypy/changeset/eb5abc38e4b2/ Log:hg merge py3.5 diff too long, truncating to 2000 out of 5407 lines diff --git a/extra_tests/test_pyrepl/__init__.py b/extra_test

[pypy-commit] pypy py3.6: CPython Issue #14711: os.stat_float_times() has been deprecated.

2018-03-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93933:1297ffb4dd1a Date: 2018-02-26 01:57 +0100 http://bitbucket.org/pypy/pypy/changeset/1297ffb4dd1a/ Log:CPython Issue #14711: os.stat_float_times() has been deprecated. diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/pos

[pypy-commit] pypy py3.6: Restore necessary import

2018-02-25 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93890:cf1579e0d8fa Date: 2018-02-25 22:16 +0100 http://bitbucket.org/pypy/pypy/changeset/cf1579e0d8fa/ Log:Restore necessary import diff --git a/lib-python/3/ctypes/test/test_parameters.py b/lib-python/3/ctypes/test/test_parameters.py -

[pypy-commit] pypy py3.6: Trigger gc collection after "del", to unblock the test.

2018-02-25 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93889:6379ab551ae1 Date: 2018-02-25 22:01 +0100 http://bitbucket.org/pypy/pypy/changeset/6379ab551ae1/ Log:Trigger gc collection after "del", to unblock the test. diff --git a/lib-python/3/test/test_concurrent_futures.py b/lib-python/3/

[pypy-commit] pypy py3.6: Add _blake2 to the build_cffi_imports script.

2018-02-25 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93887:6f93003631b8 Date: 2018-02-25 19:52 +0100 http://bitbucket.org/pypy/pypy/changeset/6f93003631b8/ Log:Add _blake2 to the build_cffi_imports script. diff --git a/lib_pypy/_blake2/_blake2_build.py b/lib_pypy/_blake2/_blake2_build.py

[pypy-commit] pypy default: Add Unicode database 9.0.0

2018-01-06 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93629:912f3925af42 Date: 2018-01-04 17:44 +0100 http://bitbucket.org/pypy/pypy/changeset/912f3925af42/ Log:Add Unicode database 9.0.0 diff too long, truncating to 2000 out of 75520 lines diff --git a/rpython/rlib/unicodedata/CaseFolding-9.0.

[pypy-commit] pypy py3.6: Add Unicode database 9.0.0

2018-01-04 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93626:4d728845e198 Date: 2018-01-04 17:44 +0100 http://bitbucket.org/pypy/pypy/changeset/4d728845e198/ Log:Add Unicode database 9.0.0 diff too long, truncating to 2000 out of 75520 lines diff --git a/rpython/rlib/unicodedata/CaseFolding

[pypy-commit] pypy py3.6: Upgrade pypy3.6 to UnicodeData 9.0.0

2018-01-04 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93627:c06ae9f3ddac Date: 2018-01-04 17:58 +0100 http://bitbucket.org/pypy/pypy/changeset/c06ae9f3ddac/ Log:Upgrade pypy3.6 to UnicodeData 9.0.0 diff --git a/pypy/module/unicodedata/__init__.py b/pypy/module/unicodedata/__init__.py --- a

[pypy-commit] pypy py3.6: Match CPython error message

2018-01-04 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93624:cd17bd421135 Date: 2018-01-04 00:06 +0100 http://bitbucket.org/pypy/pypy/changeset/cd17bd421135/ Log:Match CPython error message diff --git a/pypy/module/_io/interp_io.py b/pypy/module/_io/interp_io.py --- a/pypy/module/_io/interp_

[pypy-commit] pypy py3.6: warnings.warn() now has a "source" argument.

2018-01-04 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93625:dbcd63982736 Date: 2018-01-04 09:15 +0100 http://bitbucket.org/pypy/pypy/changeset/dbcd63982736/ Log:warnings.warn() now has a "source" argument. In the future, ResourceWarnings might log the traceback where this ob

[pypy-commit] pypy py3.6: Add math.tau

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93619:6190ca28a930 Date: 2017-12-25 19:08 +0100 http://bitbucket.org/pypy/pypy/changeset/6190ca28a930/ Log:Add math.tau diff --git a/pypy/module/math/__init__.py b/pypy/module/math/__init__.py --- a/pypy/module/math/__init__.py +++ b/pyp

[pypy-commit] pypy py3.6: Add an option to allow underscores in integer literals. RPython part.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93621:23240e4a895f Date: 2018-01-03 22:51 +0100 http://bitbucket.org/pypy/pypy/changeset/23240e4a895f/ Log:Add an option to allow underscores in integer literals. RPython part. diff --git a/rpython/rlib/rarithmetic.py b/rpython/r

[pypy-commit] pypy default: Add an option to allow underscores in integer literals. RPython part.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93623:0d3c3f5e2bdb Date: 2018-01-03 22:51 +0100 http://bitbucket.org/pypy/pypy/changeset/0d3c3f5e2bdb/ Log:Add an option to allow underscores in integer literals. RPython part. diff --git a/rpython/rlib/rarithmetic.py b/rpython/rlib/r

[pypy-commit] pypy py3.6: Add BLAKE2 (blake2b and blake2s) to hashlib.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93617:f6a0b040703c Date: 2017-12-22 21:03 +0100 http://bitbucket.org/pypy/pypy/changeset/f6a0b040703c/ Log:Add BLAKE2 (blake2b and blake2s) to hashlib. diff too long, truncating to 2000 out of 3659 lines diff --git a/lib-python/3/hashli

[pypy-commit] pypy py3.6: Add sha3 (aka. Keccak) hashes to hashlib.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93618:88331f108204 Date: 2017-12-25 18:11 +0100 http://bitbucket.org/pypy/pypy/changeset/88331f108204/ Log:Add sha3 (aka. Keccak) hashes to hashlib. diff too long, truncating to 2000 out of 5634 lines diff --git a/lib-python/3/hashlib.p

[pypy-commit] pypy py3.6: Attempt to parse numbers with underscores

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93620:c123301c02cc Date: 2018-01-03 12:17 +0100 http://bitbucket.org/pypy/pypy/changeset/c123301c02cc/ Log:Attempt to parse numbers with underscores diff --git a/pypy/interpreter/pyparser/dfa_generated.py b/pypy/interpreter/pyparser/dfa

[pypy-commit] pypy py3.6: Allow undescores in int() literals.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93622:ff9805f6a687 Date: 2018-01-03 22:51 +0100 http://bitbucket.org/pypy/pypy/changeset/ff9805f6a687/ Log:Allow undescores in int() literals. diff --git a/pypy/objspace/std/intobject.py b/pypy/objspace/std/intobject.py --- a/pypy/objspa

[pypy-commit] pypy default: parser.sequence2st: add validation of the passed tuple.

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93616:749063799a58 Date: 2018-01-02 00:53 +0100 http://bitbucket.org/pypy/pypy/changeset/749063799a58/ Log:parser.sequence2st: add validation of the passed tuple. Do it the 2016 way, by walking the grammar DFA, instead of a ton of cust

[pypy-commit] pypy default: First stab at parser.tuple2st()

2018-01-03 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93615:28aa6e61df25 Date: 2017-12-28 22:49 +0100 http://bitbucket.org/pypy/pypy/changeset/28aa6e61df25/ Log:First stab at parser.tuple2st() diff --git a/pypy/module/parser/__init__.py b/pypy/module/parser/__init__.py --- a/pypy/module/parser/_

[pypy-commit] pypy py3.6: re.Match.group() now accepts index-like objects.

2017-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93459:5e9a2c6daf17 Date: 2017-12-17 19:19 +0100 http://bitbucket.org/pypy/pypy/changeset/5e9a2c6daf17/ Log:re.Match.group() now accepts index-like objects. diff --git a/pypy/module/_sre/interp_sre.py b/pypy/module/_sre/interp_sre.py ---

[pypy-commit] pypy py3.6: CPython Issue #16864: Cursor.lastrowid now supports REPLACE statement

2017-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93457:b9413da29d91 Date: 2017-12-14 22:52 +0100 http://bitbucket.org/pypy/pypy/changeset/b9413da29d91/ Log:CPython Issue #16864: Cursor.lastrowid now supports REPLACE statement diff --git a/lib_pypy/_sqlite3.py b/lib_pypy/_sqlite

[pypy-commit] pypy py3.6: CPython Issue #28727: re.Pattern objects created by re.compile() become comparable

2017-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93461:77d216c5b248 Date: 2017-12-17 22:03 +0100 http://bitbucket.org/pypy/pypy/changeset/77d216c5b248/ Log:CPython Issue #28727: re.Pattern objects created by re.compile() become comparable (only x==y and x!=y operators) diff --g

[pypy-commit] pypy py3.6: CPython Issue #29444: Add array bound check in group(), because the underlying

2017-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93458:dda99c39353f Date: 2017-12-17 18:57 +0100 http://bitbucket.org/pypy/pypy/changeset/dda99c39353f/ Log:CPython Issue #29444: Add array bound check in group(), because the underlying buffer is mutable. Difficult to test in non-

[pypy-commit] pypy py3.6: CPython Issue #24454: Regular expression match object groups are now

2017-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93460:0e57c6df8538 Date: 2017-12-17 19:34 +0100 http://bitbucket.org/pypy/pypy/changeset/0e57c6df8538/ Log:CPython Issue #24454: Regular expression match object groups are now accessible using __getitem__. "mo[x]" is equivalent to

[pypy-commit] pypy py3.6: CPython Issue #25971: Unify error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(), and Fraction constructors.

2017-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93455:bea2e807c6dc Date: 2017-12-14 00:05 +0100 http://bitbucket.org/pypy/pypy/changeset/bea2e807c6dc/ Log:CPython Issue #25971: Unify error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(), and Fraction co

[pypy-commit] pypy py3.6: Correctly port pypy modifications to sqlite tests

2017-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93456:f83d3719aebd Date: 2017-12-14 22:48 +0100 http://bitbucket.org/pypy/pypy/changeset/f83d3719aebd/ Log:Correctly port pypy modifications to sqlite tests diff --git a/lib-python/3/sqlite3/test/userfunctions.py b/lib-python/3/sqlite3/

[pypy-commit] pypy py3.6: Since Python3.6, the seed() call to urandom() has been moved to the _random module.

2017-12-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93462:3f28eff2fcfc Date: 2017-12-18 09:36 +0100 http://bitbucket.org/pypy/pypy/changeset/3f28eff2fcfc/ Log:Since Python3.6, the seed() call to urandom() has been moved to the _random module. diff --git a/pypy/module/_random/inter

[pypy-commit] pypy py3.6: mmap.write() return the number of bytes written: RPython part

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93415:09b70b8c9aba Date: 2017-12-13 23:50 +0100 http://bitbucket.org/pypy/pypy/changeset/09b70b8c9aba/ Log:mmap.write() return the number of bytes written: RPython part diff --git a/rpython/rlib/rmmap.py b/rpython/rlib/rmmap.py --- a/rpy

[pypy-commit] pypy default: mmap.write() return the number of bytes written: RPython part

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93417:5ef9bb870cd2 Date: 2017-12-13 23:50 +0100 http://bitbucket.org/pypy/pypy/changeset/5ef9bb870cd2/ Log:mmap.write() return the number of bytes written: RPython part diff --git a/rpython/rlib/rmmap.py b/rpython/rlib/rmmap.py --- a/rpython/

[pypy-commit] pypy py3.6: mmap.write() return the number of bytes written: AppLevel part

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93416:98fb1b0c5570 Date: 2017-12-13 23:52 +0100 http://bitbucket.org/pypy/pypy/changeset/98fb1b0c5570/ Log:mmap.write() return the number of bytes written: AppLevel part diff --git a/pypy/module/mmap/interp_mmap.py b/pypy/module/mmap/int

[pypy-commit] pypy py3.5: The py3k version of the utf32 decoder should not allow lone surrogates.

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r93413:b0267eee69d8 Date: 2017-12-13 10:04 +0100 http://bitbucket.org/pypy/pypy/changeset/b0267eee69d8/ Log:The py3k version of the utf32 decoder should not allow lone surrogates. diff --git a/rpython/rlib/runicode.py b/rpython/rl

[pypy-commit] pypy py3.5: Applevel test for the utf32 surrogates.

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r93414:c9a148ecf262 Date: 2017-12-13 10:05 +0100 http://bitbucket.org/pypy/pypy/changeset/c9a148ecf262/ Log:Applevel test for the utf32 surrogates. diff --git a/pypy/module/_codecs/test/test_codecs.py b/pypy/module/_codecs/test/test_code

[pypy-commit] pypy default: Add support for half floats in the RPython rstruct module.

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93412:ca5586010ac3 Date: 2017-12-11 20:29 +0100 http://bitbucket.org/pypy/pypy/changeset/ca5586010ac3/ Log:Add support for half floats in the RPython rstruct module. diff --git a/rpython/rlib/rstruct/standardfmttable.py b/rpython/rlib/rstruc

[pypy-commit] pypy default: The py3k version of the utf32 decoder should not allow lone surrogates.

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r93411:33178f62171f Date: 2017-12-13 10:04 +0100 http://bitbucket.org/pypy/pypy/changeset/33178f62171f/ Log:The py3k version of the utf32 decoder should not allow lone surrogates. diff --git a/rpython/rlib/runicode.py b/rpython/rlib/ru

[pypy-commit] pypy py3.6: Fix struct test.

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93408:24d2c052c1dd Date: 2017-12-12 23:21 +0100 http://bitbucket.org/pypy/pypy/changeset/24d2c052c1dd/ Log:Fix struct test. diff --git a/pypy/module/struct/test/test_struct.py b/pypy/module/struct/test/test_struct.py --- a/pypy/module/s

[pypy-commit] pypy py3.6: Applevel test for the utf32 surrogates.

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93410:c99a2002f6fc Date: 2017-12-13 10:05 +0100 http://bitbucket.org/pypy/pypy/changeset/c99a2002f6fc/ Log:Applevel test for the utf32 surrogates. diff --git a/pypy/module/_codecs/test/test_codecs.py b/pypy/module/_codecs/test/test_code

[pypy-commit] pypy py3.6: The py3k version of the utf32 decoder should not allow lone surrogates.

2017-12-13 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93409:8f8a8d212853 Date: 2017-12-13 10:04 +0100 http://bitbucket.org/pypy/pypy/changeset/8f8a8d212853/ Log:The py3k version of the utf32 decoder should not allow lone surrogates. diff --git a/rpython/rlib/runicode.py b/rpython/rl

[pypy-commit] pypy py3.6: Oops, fix tests and translation.

2017-12-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93391:ea22b4d272be Date: 2017-12-12 19:21 +0100 http://bitbucket.org/pypy/pypy/changeset/ea22b4d272be/ Log:Oops, fix tests and translation. diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --- a/pypy/mo

[pypy-commit] pypy py3.6: Most file operations now accept a PathLike object with a __fspath__ method.

2017-12-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93389:10f89fd70107 Date: 2017-12-12 18:51 +0100 http://bitbucket.org/pypy/pypy/changeset/10f89fd70107/ Log:Most file operations now accept a PathLike object with a __fspath__ method. diff --git a/pypy/module/_io/interp_io.py b/py

[pypy-commit] pypy py3.6: os.fspath() accepts a DirEntry

2017-12-12 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93388:07c74faf3629 Date: 2017-12-12 01:01 +0100 http://bitbucket.org/pypy/pypy/changeset/07c74faf3629/ Log:os.fspath() accepts a DirEntry diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/module/posix/

[pypy-commit] pypy py3.6: Add support for half floats in the RPython rstruct module.

2017-12-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93376:51f3350c4b8b Date: 2017-12-11 20:29 +0100 http://bitbucket.org/pypy/pypy/changeset/51f3350c4b8b/ Log:Add support for half floats in the RPython rstruct module. diff --git a/rpython/rlib/rstruct/standardfmttable.py b/rpython/rlib/r

[pypy-commit] pypy py3.6: Check that the 'e' format works in the struct module.

2017-12-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93377:abab5c6e2946 Date: 2017-12-11 20:29 +0100 http://bitbucket.org/pypy/pypy/changeset/abab5c6e2946/ Log:Check that the 'e' format works in the struct module. diff --git a/pypy/module/struct/test/test_struct.py b/pypy/module/struct/te

[pypy-commit] pypy py3.6: Match CPython exception for bad lineno or col_offset: always ValueError.

2017-12-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93378:4fc91603abd7 Date: 2017-12-11 23:18 +0100 http://bitbucket.org/pypy/pypy/changeset/4fc91603abd7/ Log:Match CPython exception for bad lineno or col_offset: always ValueError. diff --git a/pypy/interpreter/astcompiler/ast.py

[pypy-commit] pypy py3.6: Add Decimal.as_integer_ratio()

2017-12-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93375:5b8174a4dd1d Date: 2017-12-11 19:47 +0100 http://bitbucket.org/pypy/pypy/changeset/5b8174a4dd1d/ Log:Add Decimal.as_integer_ratio() diff --git a/lib_pypy/_decimal.py b/lib_pypy/_decimal.py --- a/lib_pypy/_decimal.py +++ b/lib_pypy/

[pypy-commit] pypy py3.6: CPython Issue26482: can pickle recursive deque objects.

2017-12-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93371:ce0523b30644 Date: 2017-12-11 19:14 +0100 http://bitbucket.org/pypy/pypy/changeset/ce0523b30644/ Log:CPython Issue26482: can pickle recursive deque objects. diff --git a/lib_pypy/_collections.py b/lib_pypy/_collections.py --- a/lib

[pypy-commit] pypy py3.6: Python 3.6 is more strict with deprecated files like 'U+'

2017-12-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93370:e0f1b581e68d Date: 2017-12-11 12:01 +0100 http://bitbucket.org/pypy/pypy/changeset/e0f1b581e68d/ Log:Python 3.6 is more strict with deprecated files like 'U+' diff --git a/pypy/module/_io/interp_io.py b/pypy/module/_io/interp_io.py

[pypy-commit] pypy py3.6: The ast module now has a "Constant" node that AST optimizers can use.

2017-12-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93353:cadf41717a3f Date: 2017-12-10 17:47 +0100 http://bitbucket.org/pypy/pypy/changeset/cadf41717a3f/ Log:The ast module now has a "Constant" node that AST optimizers can use. Use it in place of PyPy's specific "Const". diff --g

[pypy-commit] pypy py3.6: Scandir: Add a context manager, and a ResourceWarning when it is not explictly closed.

2017-12-10 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.6 Changeset: r93354:2d7ef69f48bd Date: 2017-12-10 21:33 +0100 http://bitbucket.org/pypy/pypy/changeset/2d7ef69f48bd/ Log:Scandir: Add a context manager, and a ResourceWarning when it is not explictly closed. diff --git a/pypy/module/posix/inte

[pypy-commit] pypy default: Issue2684: pyexpat.CreateParser() did not handle correctly namespace_separator=""

2017-10-21 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r92811:df15dab6a182 Date: 2017-10-20 21:36 +0200 http://bitbucket.org/pypy/pypy/changeset/df15dab6a182/ Log:Issue2684: pyexpat.CreateParser() did not handle correctly namespace_separator="" diff --git a/pypy/module/pyexpat/interp_pyexp

[pypy-commit] pypy py3.5: On Windows, use GetConsoleCP for stdin.

2017-10-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r92543:e3aa955289ca Date: 2017-10-02 00:31 +0200 http://bitbucket.org/pypy/pypy/changeset/e3aa955289ca/ Log:On Windows, use GetConsoleCP for stdin. diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py --- a/

[pypy-commit] pypy py3.5: Try to fix translation on Windows: skip socket.sendmsg and associated macros.

2017-09-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r92475:826d99189c3b Date: 2017-09-27 14:27 +0200 http://bitbucket.org/pypy/pypy/changeset/826d99189c3b/ Log:Try to fix translation on Windows: skip socket.sendmsg and associated macros. diff --git a/pypy/module/_socket/__init__.py

[pypy-commit] pypy py3.5: Oops, fix win32 build

2017-06-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91657:d0f683da0c05 Date: 2017-06-28 07:59 +0200 http://bitbucket.org/pypy/pypy/changeset/d0f683da0c05/ Log:Oops, fix win32 build diff --git a/rpython/rlib/rposix.py b/rpython/rlib/rposix.py --- a/rpython/rlib/rposix.py +++ b/rpython/rlib

[pypy-commit] pypy py3.5: Fix translation on Windows. space.text_w returns an RPython bytestring.

2017-06-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91656:f5d11f59787a Date: 2017-06-27 23:46 +0200 http://bitbucket.org/pypy/pypy/changeset/f5d11f59787a/ Log:Fix translation on Windows. space.text_w returns an RPython bytestring. diff --git a/pypy/module/_cffi_backend/errorbox.py

[pypy-commit] pypy py3.5: Issue #2594: Fix truncated errors messages in _lzma.py

2017-06-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91655:38e0caea905c Date: 2017-06-27 23:36 +0200 http://bitbucket.org/pypy/pypy/changeset/38e0caea905c/ Log:Issue #2594: Fix truncated errors messages in _lzma.py Full messages were found in CPython _lzmamodule.c diff --git a/lib

[pypy-commit] pypy py3.5: As os.link() implementation on Windows

2017-06-27 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91654:16f97608b715 Date: 2017-05-06 11:46 +0200 http://bitbucket.org/pypy/pypy/changeset/16f97608b715/ Log:As os.link() implementation on Windows diff --git a/pypy/module/posix/__init__.py b/pypy/module/posix/__init__.py --- a/pypy/modul

[pypy-commit] pypy default: ast.parse(some_ast, ...) should return its first argument.

2017-05-05 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r91190:0a70dce2070a Date: 2017-05-05 19:01 +0200 http://bitbucket.org/pypy/pypy/changeset/0a70dce2070a/ Log:ast.parse(some_ast, ...) should return its first argument. diff --git a/pypy/module/__builtin__/compiling.py b/pypy/module/__builtin__

[pypy-commit] pypy default: Populate tp_descr_get and tp_descr_set slots

2017-05-05 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r91188:5b724c72fb87 Date: 2017-05-01 02:07 +0200 http://bitbucket.org/pypy/pypy/changeset/5b724c72fb87/ Log:Populate tp_descr_get and tp_descr_set slots diff --git a/pypy/module/cpyext/test/test_userslots.py b/pypy/module/cpyext/test/test_use

[pypy-commit] pypy default: Issue 2551: Struct should be initialized in __init__, not __new__

2017-05-05 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r91189:f452cdf49d49 Date: 2017-05-04 00:23 +0200 http://bitbucket.org/pypy/pypy/changeset/f452cdf49d49/ Log:Issue 2551: Struct should be initialized in __init__, not __new__ diff --git a/pypy/module/struct/interp_struct.py b/pypy/module/struc

[pypy-commit] pypy py3.5: Add a fake getwindowsversion()._platform_version, so that platform.win32_ver() can return something.

2017-05-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91175:09eee048800a Date: 2017-05-03 08:20 +0200 http://bitbucket.org/pypy/pypy/changeset/09eee048800a/ Log:Add a fake getwindowsversion()._platform_version, so that platform.win32_ver() can return something. (it will always be the

[pypy-commit] pypy py3.5: oops, SetErrorMode is in kernel32.dll

2017-05-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91174:c170bb968e18 Date: 2017-05-02 23:44 +0200 http://bitbucket.org/pypy/pypy/changeset/c170bb968e18/ Log:oops, SetErrorMode is in kernel32.dll diff --git a/lib_pypy/msvcrt.py b/lib_pypy/msvcrt.py --- a/lib_pypy/msvcrt.py +++ b/lib_pypy

[pypy-commit] pypy py3.5: Expose msvcrt.SetErrorMode

2017-05-02 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91173:b2b8897fa2d1 Date: 2017-05-02 22:06 +0200 http://bitbucket.org/pypy/pypy/changeset/b2b8897fa2d1/ Log:Expose msvcrt.SetErrorMode diff --git a/lib_pypy/msvcrt.py b/lib_pypy/msvcrt.py --- a/lib_pypy/msvcrt.py +++ b/lib_pypy/msvcrt.py

[pypy-commit] pypy py3.5: hg merge default

2017-05-01 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91162:7e5247599a57 Date: 2017-05-02 00:48 +0200 http://bitbucket.org/pypy/pypy/changeset/7e5247599a57/ Log:hg merge default diff --git a/lib_pypy/_ctypes/structure.py b/lib_pypy/_ctypes/structure.py --- a/lib_pypy/_ctypes/structure.py ++

[pypy-commit] pypy py3.5: Disable lone surrogates in utf-16 and utf-32 encoders

2017-04-30 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91155:1ca1708d0606 Date: 2017-04-19 15:28 +0200 http://bitbucket.org/pypy/pypy/changeset/1ca1708d0606/ Log:Disable lone surrogates in utf-16 and utf-32 encoders diff --git a/pypy/module/_codecs/interp_codecs.py b/pypy/module/_codecs/int

[pypy-commit] pypy py3.5: Issue 2548: os.utime() would return incorrect errno.

2017-04-30 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91156:7f6e04d6d012 Date: 2017-05-01 00:13 +0200 http://bitbucket.org/pypy/pypy/changeset/7f6e04d6d012/ Log:Issue 2548: os.utime() would return incorrect errno. diff --git a/pypy/module/posix/test/test_posix2.py b/pypy/module/posix/test/

[pypy-commit] pypy py3.5: Chain exceptions when close() contains multiple operations that can fail.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91087:0f983f4075de Date: 2017-04-18 19:03 +0200 http://bitbucket.org/pypy/pypy/changeset/0f983f4075de/ Log:Chain exceptions when close() contains multiple operations that can fail. diff --git a/pypy/module/_io/interp_bufferedio.p

[pypy-commit] pypy py3.5: CPython Issue #21396: write_through=True doesn't force a flush() on the underlying binary buffered object.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91088:15ee4ffa4842 Date: 2017-04-18 19:11 +0200 http://bitbucket.org/pypy/pypy/changeset/15ee4ffa4842/ Log:CPython Issue #21396: write_through=True doesn't force a flush() on the underlying binary buffered object. diff --git a/py

[pypy-commit] pypy py3.5: Python Issue #21310: Fixed possible resource leak in failed open()

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91086:af84269c028b Date: 2017-04-18 18:37 +0200 http://bitbucket.org/pypy/pypy/changeset/af84269c028b/ Log:Python Issue #21310: Fixed possible resource leak in failed open() diff --git a/pypy/module/_io/interp_io.py b/pypy/module/_io/int

[pypy-commit] pypy py3.5: CPython Issue #22982: Improve BOM handling when seeking to multiple positions of a writable text file.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91089:32c611c850d8 Date: 2017-04-18 22:12 +0200 http://bitbucket.org/pypy/pypy/changeset/32c611c850d8/ Log:CPython Issue #22982: Improve BOM handling when seeking to multiple positions of a writable text file. diff --git a/pypy/m

[pypy-commit] pypy py3.5: Add support for rejecting lone surrogates in utf16 and utf32 decoders.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91090:7ce52a9f8d1f Date: 2017-04-19 00:53 +0200 http://bitbucket.org/pypy/pypy/changeset/7ce52a9f8d1f/ Log:Add support for rejecting lone surrogates in utf16 and utf32 decoders. diff --git a/rpython/rlib/runicode.py b/rpython/rli

[pypy-commit] pypy py3.5: CPython Issue #21057: TextIOWrapper now allows the underlying binary stream's read() or read1() method to return an arbitrary bytes-like object

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91085:77139bab65b2 Date: 2017-04-18 17:49 +0200 http://bitbucket.org/pypy/pypy/changeset/77139bab65b2/ Log:CPython Issue #21057: TextIOWrapper now allows the underlying binary stream's read() or read1() method to return an arbitra

[pypy-commit] pypy py3.5: Attempt to fix 'nonlocal' in class scopes.

2017-04-18 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91078:785e75435a92 Date: 2017-04-18 09:48 +0200 http://bitbucket.org/pypy/pypy/changeset/785e75435a92/ Log:Attempt to fix 'nonlocal' in class scopes. test_scope and test_super are passing again. diff --git a/pypy/interpreter/astc

[pypy-commit] pypy py3.5: Apply diffs from CPython, mainly:

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91075:991de0b87cdc Date: 2017-04-17 22:12 +0200 http://bitbucket.org/pypy/pypy/changeset/991de0b87cdc/ Log:Apply diffs from CPython, mainly: CPython rev 5453b9c59cd7: On systems with a functioning /proc/self/fd or /dev/fd interfac

[pypy-commit] pypy py3.5: Apply CPython rev 9180fb4eccc7: Raise our own SubprocessError rather than a RuntimeError

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91074:a402a0d7ee30 Date: 2017-04-17 21:35 +0200 http://bitbucket.org/pypy/pypy/changeset/a402a0d7ee30/ Log:Apply CPython rev 9180fb4eccc7: Raise our own SubprocessError rather than a RuntimeError when dealing with odd rare errors

[pypy-commit] pypy py3.5: Use our space.objects_in_repr() dict, instead of the decorator in reprlib.py which imports too many things.

2017-04-17 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3.5 Changeset: r91071:6a485971d4fa Date: 2017-04-17 18:46 +0200 http://bitbucket.org/pypy/pypy/changeset/6a485971d4fa/ Log:Use our space.objects_in_repr() dict, instead of the decorator in reprlib.py which imports too many things. diff --git a/l

  1   2   3   4   5   6   7   8   9   10   >