[pypy-commit] pypy posonly-params: First try at positional-only parameters

2019-12-30 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: posonly-params Changeset: r98420:b09184b998ef Date: 2019-12-31 02:39 +0100 http://bitbucket.org/pypy/pypy/changeset/b09184b998ef/ Log:First try at positional-only parameters diff --git a/pypy/interpreter/argument.py b/pypy/interpreter/argument.py ---

[pypy-commit] pypy array-and-nan: Replacing `space.eq_w(...)` by `space.is_true(space.eq(...))` in `compare_arrays` and `index_count_array` in array/interp_array.py in order to handle NaN correctly

2019-12-30 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: array-and-nan Changeset: r98419:fe5283d50ae4 Date: 2019-12-30 23:57 +0100 http://bitbucket.org/pypy/pypy/changeset/fe5283d50ae4/ Log:Replacing `space.eq_w(...)` by `space.is_true(space.eq(...))` in `compare_arrays` and `index_count_array` in

[pypy-commit] pypy py3.7-bpo-27541: Implement bpo-27541: Reprs of subclasses of some classes now contain actual type name

2019-12-30 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-27541 Changeset: r98418:fc33829c0465 Date: 2019-12-30 23:28 +0100 http://bitbucket.org/pypy/pypy/changeset/fc33829c0465/ Log:Implement bpo-27541: Reprs of subclasses of some classes now contain actual type name diff --git

[pypy-commit] pypy py3.7: Revert removal of trailing comma in test_cpyext.py in 705f6a3 (part of commit implementing bpo-30399)

2019-12-30 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7 Changeset: r98417:295149c861c3 Date: 2019-12-30 22:28 +0100 http://bitbucket.org/pypy/pypy/changeset/295149c861c3/ Log:Revert removal of trailing comma in test_cpyext.py in 705f6a3 (part of commit implementing bpo-30399) diff --git

[pypy-commit] pypy py3.7: Fix fogotten `time.get_clock_info(thread_time)` (bpo-32025)

2019-12-30 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7 Changeset: r98416:04c1e6eeb0a7 Date: 2019-12-30 20:31 +0100 http://bitbucket.org/pypy/pypy/changeset/04c1e6eeb0a7/ Log:Fix fogotten `time.get_clock_info(thread_time)` (bpo-32025) diff --git a/pypy/module/time/app_time.py b/pypy/module/time/app_time.py

[pypy-commit] pypy bpo-16055: Implement bpo-16055: Fixes incorrect error text for int('1', base=1000)

2019-12-29 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: bpo-16055 Changeset: r98408:d6cd8aee750b Date: 2019-12-30 02:34 +0100 http://bitbucket.org/pypy/pypy/changeset/d6cd8aee750b/ Log:Implement bpo-16055: Fixes incorrect error text for int('1', base=1000) diff --git a/rpython/rlib/rstring.py

[pypy-commit] pypy py3.7-bpo-30103: Implement bpo-30103: Allow Uuencode in Python using backtick as zero instead of space

2019-12-29 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-30103 Changeset: r98407:53ee6dae816a Date: 2019-12-29 23:27 +0100 http://bitbucket.org/pypy/pypy/changeset/53ee6dae816a/ Log:Implement bpo-30103: Allow Uuencode in Python using backtick as zero instead of space diff --git

[pypy-commit] pypy py3.7-bpo-30399: Undo change to trailing commas in exception repr strings in lib-python/3/test/test_gdb.py

2019-12-29 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-30399 Changeset: r98406:49811c96e106 Date: 2019-12-29 21:36 +0100 http://bitbucket.org/pypy/pypy/changeset/49811c96e106/ Log:Undo change to trailing commas in exception repr strings in lib- python/3/test/test_gdb.py diff --git

[pypy-commit] pypy py3.7-bpo-30399: Implement bpo-30399: Get rid of trailing comma in the repr of BaseException

2019-12-29 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-30399 Changeset: r98405:705f6a3a7d9a Date: 2019-12-29 21:25 +0100 http://bitbucket.org/pypy/pypy/changeset/705f6a3a7d9a/ Log:Implement bpo-30399: Get rid of trailing comma in the repr of BaseException diff --git

[pypy-commit] pypy py3.7-time-minor-bpos: Implement bpo-32025: Add time.thread_time()

2019-12-29 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-time-minor-bpos Changeset: r98404:7f949f5fb55c Date: 2019-12-29 17:57 +0100 http://bitbucket.org/pypy/pypy/changeset/7f949f5fb55c/ Log:Implement bpo-32025: Add time.thread_time() diff --git a/pypy/module/time/interp_time.py

[pypy-commit] pypy py3.7-time-minor-bpos: merge py3.7 into py3.7-time-minor-bpos

2019-12-29 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-time-minor-bpos Changeset: r98403:29f5a19c932a Date: 2019-12-29 15:44 +0100 http://bitbucket.org/pypy/pypy/changeset/29f5a19c932a/ Log:merge py3.7 into py3.7-time-minor-bpos diff too long, truncating to 2000 out of 25236 lines diff --git a/.hgtags

[pypy-commit] pypy default: merge backport-decode_timeval_ns-py3.7 into default

2019-11-30 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: Changeset: r98193:d3c8d438315b Date: 2019-11-30 16:57 +0100 http://bitbucket.org/pypy/pypy/changeset/d3c8d438315b/ Log:merge backport-decode_timeval_ns-py3.7 into default diff --git a/rpython/rlib/rtime.py b/rpython/rlib/rtime.py --- a/rpython/rlib/rtime.py

[pypy-commit] pypy py3.7-pep565: Implementing PEP 565, showing DeprecationWarning in __main__ by default

2019-11-11 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep565 Changeset: r98029:a21b521df584 Date: 2019-11-12 00:24 +0100 http://bitbucket.org/pypy/pypy/changeset/a21b521df584/ Log:Implementing PEP 565, showing DeprecationWarning in __main__ by default diff --git

[pypy-commit] pypy backport-decode_timeval_ns-py3.7: Backport decode_timeval_ns from py3.7 branch

2019-11-10 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: backport-decode_timeval_ns-py3.7 Changeset: r98016:37256ca2df2e Date: 2019-11-11 01:55 +0100 http://bitbucket.org/pypy/pypy/changeset/37256ca2df2e/ Log:Backport decode_timeval_ns from py3.7 branch diff --git a/rpython/rlib/rtime.py b/rpython/rlib/rtime.py ---

[pypy-commit] pypy py3.7-pep564: Using r_int64 to handle nanoseconds in time module without overflowing

2019-11-07 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep564 Changeset: r97980:b2be19ccfa88 Date: 2019-11-07 17:44 +0100 http://bitbucket.org/pypy/pypy/changeset/b2be19ccfa88/ Log:Using r_int64 to handle nanoseconds in time module without overflowing diff --git a/pypy/module/time/interp_time.py

[pypy-commit] pypy py3.7-bpo-29962: Implemented app-level math.remainder

2019-11-06 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-29962 Changeset: r97973:b1d5214588a0 Date: 2019-11-06 23:58 +0100 http://bitbucket.org/pypy/pypy/changeset/b1d5214588a0/ Log:Implemented app-level math.remainder diff --git a/pypy/module/math/app_math.py b/pypy/module/math/app_math.py ---

[pypy-commit] pypy py3.7-pep564: Adding ns-resolution function to time module

2019-11-01 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep564 Changeset: r97933:f0362a20d1a1 Date: 2019-10-17 11:56 +0200 http://bitbucket.org/pypy/pypy/changeset/f0362a20d1a1/ Log:Adding ns-resolution function to time module diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp_time.py ---

[pypy-commit] pypy py3.7-pep564: Added tests for nanosecond-resolution time functions

2019-11-01 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep564 Changeset: r97935:7798b261cc60 Date: 2019-10-17 17:52 +0200 http://bitbucket.org/pypy/pypy/changeset/7798b261cc60/ Log:Added tests for nanosecond-resolution time functions diff --git a/pypy/module/time/test/test_time.py

[pypy-commit] pypy py3.7-pep564: Fix return type of edge-case of gettimeofday when only C's time() is available

2019-11-01 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep564 Changeset: r97936:9741d65e2e03 Date: 2019-10-17 18:41 +0200 http://bitbucket.org/pypy/pypy/changeset/9741d65e2e03/ Log:Fix return type of edge-case of gettimeofday when only C's time() is available diff --git

[pypy-commit] pypy py3.7-pep564: Docstrings for time functions

2019-11-01 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep564 Changeset: r97934:fb46c09b060b Date: 2019-10-17 16:51 +0200 http://bitbucket.org/pypy/pypy/changeset/fb46c09b060b/ Log:Docstrings for time functions diff --git a/pypy/module/time/interp_time.py b/pypy/module/time/interp_time.py ---

[pypy-commit] pypy py3.7-bpo-31333: Not importing _weakrefset anymore to implement _abc module, and added '_abc' to essential_modules list

2019-10-31 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-31333 Changeset: r97914:4ad607fdca5d Date: 2019-10-20 02:12 +0200 http://bitbucket.org/pypy/pypy/changeset/4ad607fdca5d/ Log:Not importing _weakrefset anymore to implement _abc module, and added '_abc' to essential_modules list diff --git

[pypy-commit] pypy py3.7-bpo-31333: Added tests and fixed _reset_registry and _reset_caches

2019-10-31 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-31333 Changeset: r97916:1e2d3e37d725 Date: 2019-10-20 23:15 +0200 http://bitbucket.org/pypy/pypy/changeset/1e2d3e37d725/ Log:Added tests and fixed _reset_registry and _reset_caches diff --git a/pypy/module/_abc/app_abc.py

[pypy-commit] pypy py3.7-bpo-31333: Moving _abc from essential_modules to default_modules

2019-10-31 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-31333 Changeset: r97917:cf9fa90f1848 Date: 2019-10-21 14:27 +0200 http://bitbucket.org/pypy/pypy/changeset/cf9fa90f1848/ Log:Moving _abc from essential_modules to default_modules diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py ---

[pypy-commit] pypy py3.7-bpo-31333: Adding built-in module _abc

2019-10-31 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-31333 Changeset: r97913:1afc6d0f0699 Date: 2019-10-18 19:58 +0200 http://bitbucket.org/pypy/pypy/changeset/1afc6d0f0699/ Log:Adding built-in module _abc diff --git a/pypy/module/_abc/__init__.py b/pypy/module/_abc/__init__.py new file mode 100644

[pypy-commit] pypy py3.7-bpo-31333: Fixing _abc._get_dump to return sets, rather than the new SimpleWeakSet wrapper

2019-10-31 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-31333 Changeset: r97915:8c14c8098e5a Date: 2019-10-20 22:48 +0200 http://bitbucket.org/pypy/pypy/changeset/8c14c8098e5a/ Log:Fixing _abc._get_dump to return sets, rather than the new SimpleWeakSet wrapper diff --git

[pypy-commit] pypy py3.7-bpo-29839: Shortening test_builtin.py::AppTestBuiltinApp::test_len to more specific test_len_negative_overflow

2019-10-20 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-29839 Changeset: r97820:f5ea45e7bf9c Date: 2019-10-19 01:31 +0200 http://bitbucket.org/pypy/pypy/changeset/f5ea45e7bf9c/ Log:Shortening test_builtin.py::AppTestBuiltinApp::test_len to more specific test_len_negative_overflow diff --git

[pypy-commit] pypy py3.7-bpo-29839: Added (well, copied) apptest for len

2019-10-20 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-29839 Changeset: r97819:81794cb4ab7f Date: 2019-10-18 19:30 +0200 http://bitbucket.org/pypy/pypy/changeset/81794cb4ab7f/ Log:Added (well, copied) apptest for len diff --git a/pypy/module/__builtin__/test/test_builtin.py

[pypy-commit] pypy py3.7-bpo-29839: First check the result of __len__ for negative values rather before checking for overflow, implementing bpo-29839

2019-10-20 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-29839 Changeset: r97818:dd823d097737 Date: 2019-10-18 17:30 +0200 http://bitbucket.org/pypy/pypy/changeset/dd823d097737/ Log:First check the result of __len__ for negative values rather before checking for overflow, implementing bpo-29839

[pypy-commit] pypy py3.7-bpo-29839: Fix translation by avoiding space.unwrap

2019-10-20 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-bpo-29839 Changeset: r97821:25e4f3f9050d Date: 2019-10-19 20:29 +0200 http://bitbucket.org/pypy/pypy/changeset/25e4f3f9050d/ Log:Fix translation by avoiding space.unwrap diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py ---

[pypy-commit] pypy py3.7-pep553: Adding tests for breakpoint() and sys.breakpointhook()

2019-10-16 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep553 Changeset: r97792:085278e256df Date: 2019-10-15 19:53 +0200 http://bitbucket.org/pypy/pypy/changeset/085278e256df/ Log:Adding tests for breakpoint() and sys.breakpointhook() diff --git a/pypy/module/__builtin__/test/test_breakpoint.py

[pypy-commit] pypy py3.7-pep553: Implemented breakpoint and sys.breakpointhook from PEP 553

2019-10-16 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep553 Changeset: r97791:075c2edf30ee Date: 2019-10-12 23:44 +0200 http://bitbucket.org/pypy/pypy/changeset/075c2edf30ee/ Log:Implemented breakpoint and sys.breakpointhook from PEP 553 diff --git a/pypy/module/__builtin__/app_breakpoint.py

[pypy-commit] pypy py3.7-pep562: Implementation of PEP 562, adding __getattr__ and __dir__ for modules

2019-10-06 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7-pep562 Changeset: r97732:bb000a053f9f Date: 2019-10-04 01:34 +0200 http://bitbucket.org/pypy/pypy/changeset/bb000a053f9f/ Log:Implementation of PEP 562, adding __getattr__ and __dir__ for modules diff --git a/pypy/interpreter/module.py

[pypy-commit] pypy py3.7: Fixed annotation errors related to fixed-sized lists, and added a test checking __orig_bases__ is only set when __bases__ gets changed through the __mro_entries__ mechanism

2019-10-06 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7 Changeset: r97730:01b4c2af5928 Date: 2019-09-24 19:08 +0200 http://bitbucket.org/pypy/pypy/changeset/01b4c2af5928/ Log:Fixed annotation errors related to fixed-sized lists, and added a test checking __orig_bases__ is only set when __bases__ gets

[pypy-commit] pypy py3.7: merge upstream py3.7

2019-10-06 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7 Changeset: r97731:0c9e1e22eaad Date: 2019-10-03 01:18 +0200 http://bitbucket.org/pypy/pypy/changeset/0c9e1e22eaad/ Log:merge upstream py3.7 diff --git a/pypy/module/__builtin__/compiling.py b/pypy/module/__builtin__/compiling.py ---

[pypy-commit] pypy py3.7: Implemented __mro_entries__ from PEP 560

2019-10-06 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7 Changeset: r97729:02a99370f6b3 Date: 2019-09-24 17:27 +0200 http://bitbucket.org/pypy/pypy/changeset/02a99370f6b3/ Log:Implemented __mro_entries__ from PEP 560 diff --git a/pypy/module/__builtin__/compiling.py b/pypy/module/__builtin__/compiling.py ---

[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

[pypy-commit] pypy py3.7: Implemented __class_getitem__ from PEP 560

2019-09-06 Thread Yannick_Jadoul
Author: Yannick Jadoul Branch: py3.7 Changeset: r97389:4c3f7009c136 Date: 2019-09-06 15:33 +0200 http://bitbucket.org/pypy/pypy/changeset/4c3f7009c136/ Log:Implemented __class_getitem__ from PEP 560 diff --git a/pypy/objspace/descroperation.py b/pypy/objspace/descroperation.py ---