Files
RustPython/Lib
Snowapril 89ca1db86d builtins: add __index__ overriding class support
This commit fix RangeTestCase.test_range test in test_index.py

TryFromObject implementation for RangeIndex enum did not cover classes
that override __index__ operator which cpython implementation is currently providing
(https://docs.python.org/3.8/library/operator.html#operator.__index__)

I add codes that cover upper case using vm.to_index method.

Signed-off-by: snowapril <sinjihng@gmail.com>
2021-08-08 21:27:05 +09:00
..
2021-04-11 17:38:44 -05:00
2021-04-22 08:08:19 -05:00
2020-09-18 12:00:24 -05:00
2020-12-05 16:36:35 -06:00
2021-06-02 18:18:58 -04:00
2021-01-23 01:10:52 -05:00
2021-03-14 12:49:59 -05:00
2020-10-07 19:29:41 -05:00
2021-05-21 01:32:55 -05:00
2020-05-23 17:37:48 -05:00
2021-02-14 14:47:41 -05:00
2021-01-28 12:34:04 -05:00
2021-01-14 12:37:37 -06:00
2020-08-09 16:33:24 +09:00
2020-08-09 16:33:24 +09:00
2020-08-11 16:38:35 -03:00
2020-08-11 16:38:35 -03:00
2021-01-29 18:10:15 -05:00
2021-01-25 17:08:04 -06:00
2019-08-19 16:26:00 +09:00
2021-03-14 12:49:59 -05:00
2019-07-19 22:38:09 -05:00
2020-03-20 17:35:11 +02:00
2021-01-23 01:10:52 -05:00
2020-01-12 22:57:19 -06:00
2019-08-16 15:15:33 +09:00
2020-07-18 17:04:35 +03:00
2020-03-15 11:00:23 +09:00
2021-03-14 12:49:59 -05:00
2021-04-14 19:22:07 -04:00
2021-02-20 21:04:29 -06:00
2020-05-03 18:13:09 -05:00
2021-05-20 20:40:11 -04:00
2020-08-11 16:38:35 -03:00
2019-09-13 01:27:23 -05:00
2021-07-20 14:36:02 +03:00
2019-07-10 22:16:42 -05:00
2021-04-11 17:38:44 -05:00
2020-03-01 14:36:01 -06:00
2020-10-25 15:44:59 +09:00
2019-07-16 19:13:07 -05:00
2019-09-13 01:27:23 -05:00
2021-06-07 21:12:22 -04:00
2019-07-11 09:38:13 -05:00
2020-10-27 22:14:07 -05:00
2020-09-21 10:41:58 -05:00
2021-01-27 15:20:52 -06:00
2021-04-27 08:15:13 -05:00
2021-01-27 15:20:52 -06:00
2021-01-31 19:26:44 -05:00
2021-05-23 20:14:35 -04:00
2021-05-23 16:15:49 -04:00
2019-06-22 13:13:34 +02:00
2021-04-11 17:38:44 -05:00
2020-10-07 19:29:41 -05:00
2019-06-29 14:44:39 +02:00
2020-12-07 21:19:46 -06:00

Standard Library for RustPython

This directory contains all of the Python files that make up the standard library for RustPython.

Most of these files are copied over from the CPython repository (the 3.7 branch), with slight modifications to allow them to work under RustPython. The current goal is to complete the standard library with as few modifications as possible. Current modifications are just temporary workarounds for bugs/missing feature within the RustPython implementation.

The first big module we are targeting is unittest, so we can leverage the CPython test suite.