[pypy-commit] pypy py3.7: Making sure __class_getitem__ is a classmethod, even when not annotated with @classmethod

2019-09-16 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7 Changeset: r97504:5972be85ad6d Date: 2019-09-08 22:45 +0200 http://bitbucket.org/pypy/pypy/changeset/5972be85ad6d/ Log:Making sure __class_getitem__ is a classmethod, even when not annotated with @classmethod diff --git a/pypy/objspace/std/test/te

[pypy-commit] pypy py3.6: un-mess argument handling and test of select.poll().poll(): previously the test

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r97502:f41451c91702 Date: 2019-09-16 19:23 +0200 http://bitbucket.org/pypy/pypy/changeset/f41451c91702/ Log:un-mess argument handling and test of select.poll().poll(): previously the test was passing completely by accident,

[pypy-commit] pypy py3.6: update docstrings

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r97503:7e303c8f90af Date: 2019-09-16 22:57 +0200 http://bitbucket.org/pypy/pypy/changeset/7e303c8f90af/ Log:update docstrings diff --git a/pypy/module/__builtin__/functional.py b/pypy/module/__builtin__/functional.py --- a/pypy/mo

[pypy-commit] pypy winconsoleio: Merged discarded changes back in.

2019-09-16 Thread andrewjlawrence
Author: andrewjlawrence Branch: winconsoleio Changeset: r97501:dfec1e76b2be Date: 2019-09-16 20:02 +0100 http://bitbucket.org/pypy/pypy/changeset/dfec1e76b2be/ Log:Merged discarded changes back in. diff --git a/pypy/module/_io/interp_win32consoleio.py b/pypy/module/_io/interp_win32consoleio.

[pypy-commit] pypy winconsoleio: Merge

2019-09-16 Thread andrewjlawrence
Author: andrewjlawrence Branch: winconsoleio Changeset: r97500:0e928fe22992 Date: 2019-09-16 19:37 +0100 http://bitbucket.org/pypy/pypy/changeset/0e928fe22992/ Log:Merge ___ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mai

[pypy-commit] pypy winconsoleio: Fixed issues

2019-09-16 Thread andrewjlawrence
Author: andrewjlawrence Branch: winconsoleio Changeset: r97499:01ae8b151011 Date: 2019-09-16 19:35 +0100 http://bitbucket.org/pypy/pypy/changeset/01ae8b151011/ Log:Fixed issues diff --git a/pypy/module/_io/interp_win32consoleio.py b/pypy/module/_io/interp_win32consoleio.py --- a/pypy/module/

[pypy-commit] pypy winconsoleio: rewrite in pure python. "decoded" is a ascii string AFAICT

2019-09-16 Thread mattip
Author: Matti Picus Branch: winconsoleio Changeset: r97498:56316fa56a96 Date: 2019-09-16 21:17 +0300 http://bitbucket.org/pypy/pypy/changeset/56316fa56a96/ Log:rewrite in pure python. "decoded" is a ascii string AFAICT diff --git a/pypy/module/_io/interp_win32consoleio.py b/pypy/module/_io/

[pypy-commit] pypy winconsoleio: fix copy-paster

2019-09-16 Thread mattip
Author: Matti Picus Branch: winconsoleio Changeset: r97497:bf4120ce59b6 Date: 2019-09-16 20:25 +0300 http://bitbucket.org/pypy/pypy/changeset/bf4120ce59b6/ Log:fix copy-paster diff --git a/pypy/module/_io/interp_win32consoleio.py b/pypy/module/_io/interp_win32consoleio.py --- a/pypy/module/

[pypy-commit] pypy winconsoleio: Implemented write method for the Windows console io class.

2019-09-16 Thread andrewjlawrence
Author: andrewjlawrence Branch: winconsoleio Changeset: r97496:d88f85fb9795 Date: 2019-09-16 16:52 +0100 http://bitbucket.org/pypy/pypy/changeset/d88f85fb9795/ Log:Implemented write method for the Windows console io class. diff --git a/pypy/module/_io/interp_win32consoleio.py b/pypy/module/_

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

2019-09-16 Thread mattip
Author: Matti Picus Branch: winconsoleio Changeset: r97495:905c730547a7 Date: 2019-09-16 17:20 +0300 http://bitbucket.org/pypy/pypy/changeset/905c730547a7/ Log:merge py3.6 into branch diff too long, truncating to 2000 out of 5141 lines diff --git a/lib-python/3/stat.py b/lib-python/3/stat.p

[pypy-commit] pypy py3.6: enable _io own tests on windows

2019-09-16 Thread mattip
Author: Matti Picus Branch: py3.6 Changeset: r97494:b6cec0565e9d Date: 2019-09-16 16:28 +0300 http://bitbucket.org/pypy/pypy/changeset/b6cec0565e9d/ Log:enable _io own tests on windows diff --git a/pypy/module/_io/test/test_bufferedio.py b/pypy/module/_io/test/test_bufferedio.py --- a/pypy/

[pypy-commit] pypy py3.6: this restriction was lifted, and we didn't import the test change correctly or

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r97493:a741689e58e9 Date: 2019-09-16 14:04 +0200 http://bitbucket.org/pypy/pypy/changeset/a741689e58e9/ Log:this restriction was lifted, and we didn't import the test change correctly or something diff --git a/lib-python/3/

[pypy-commit] pypy py3.6: use getattr here as well (already done for another test)

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r97492:ce752f8d7d1e Date: 2019-09-16 13:55 +0200 http://bitbucket.org/pypy/pypy/changeset/ce752f8d7d1e/ Log:use getattr here as well (already done for another test) diff --git a/lib-python/3/test/test_readline.py b/lib-python/3/te

[pypy-commit] pypy py3.6: don't fold too huge left shift either

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r97491:cedd17bf511f Date: 2019-09-16 13:50 +0200 http://bitbucket.org/pypy/pypy/changeset/cedd17bf511f/ Log:don't fold too huge left shift either diff --git a/pypy/interpreter/astcompiler/optimize.py b/pypy/interpreter/astcompiler

[pypy-commit] pypy py3.6: fix error message of barry_as_FLUFL, important work!

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r97489:03c11d539a67 Date: 2019-09-16 13:37 +0200 http://bitbucket.org/pypy/pypy/changeset/03c11d539a67/ Log:fix error message of barry_as_FLUFL, important work! diff --git a/pypy/interpreter/astcompiler/astbuilder.py b/pypy/interp

[pypy-commit] pypy py3.6: unskip these two tests

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r97490:c4bc6937bce1 Date: 2019-09-16 13:37 +0200 http://bitbucket.org/pypy/pypy/changeset/c4bc6937bce1/ Log:unskip these two tests diff --git a/pypy/interpreter/test/test_compiler.py b/pypy/interpreter/test/test_compiler.py --- a/

[pypy-commit] pypy winconsoleio: Fixed a bunch of translation issues

2019-09-16 Thread andrewjlawrence
Author: andrewjlawrence Branch: winconsoleio Changeset: r97488:fa6bd070da3d Date: 2019-09-16 11:27 +0100 http://bitbucket.org/pypy/pypy/changeset/fa6bd070da3d/ Log:Fixed a bunch of translation issues diff --git a/pypy/module/_io/interp_win32consoleio.py b/pypy/module/_io/interp_win32consolei

[pypy-commit] pypy default: call prev_codepoint_pos only once

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: Changeset: r97487:6e05da20e7bd Date: 2019-09-16 10:51 +0200 http://bitbucket.org/pypy/pypy/changeset/6e05da20e7bd/ Log:call prev_codepoint_pos only once diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/py

[pypy-commit] pypy py3.6: merge default

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: py3.6 Changeset: r97486:a94f909131d8 Date: 2019-09-16 10:29 +0200 http://bitbucket.org/pypy/pypy/changeset/a94f909131d8/ Log:merge default diff --git a/pypy/interpreter/unicodehelper.py b/pypy/interpreter/unicodehelper.py --- a/pypy/interpreter/un

[pypy-commit] pypy default: for some reason we have two rutf8 functions that do the same thing,

2019-09-16 Thread cfbolz
Author: Carl Friedrich Bolz-Tereick Branch: Changeset: r97485:28102f96dc5c Date: 2019-09-16 09:50 +0200 http://bitbucket.org/pypy/pypy/changeset/28102f96dc5c/ Log:for some reason we have two rutf8 functions that do the same thing, codepoints_in_utf8 and get_utf8_length. The former is