Files
RustPython/Lib
Daniel Chiquito 43d7c71a68 Fix integer rounding
The [docs](https://docs.python.org/3/library/functions.html#round)
specify that calling `round` with a negative precision removes
significant digits, so that `round(12345, -2) == 12300`. The
implementation was simply returning the original integer.

Additionally, `round(a, b)` is implemented as `(a / 10^b) * 10^b`, using
half-even rounding during the division.
2024-02-07 14:19:17 -05:00
..
2022-07-24 16:40:51 +09:00
2022-08-21 15:23:51 +09:00
2023-01-07 22:03:24 +02:00
2024-02-07 14:19:17 -05:00
2022-11-05 21:36:25 +02:00
2023-03-01 22:31:19 +09:00
2022-08-07 16:31:38 +09:00
2022-07-19 01:35:32 +09:00
2023-04-20 15:36:28 +09:00
2021-10-17 21:55:28 -05:00
2021-03-14 12:49:59 -05:00
2022-07-24 15:23:52 +09:00
2022-04-27 18:58:16 -04:00
2023-12-22 03:15:47 +08:00
2023-06-12 20:02:29 +03:00
2020-08-09 16:33:24 +09:00
2020-08-09 16:33:24 +09:00
2023-12-24 03:59:38 +08:00
2022-08-05 03:54:21 +09:00
2023-06-12 20:02:30 +03:00
2023-06-12 20:02:31 +03:00
2023-06-12 20:02:31 +03:00
2022-02-18 21:36:24 -05:00
2023-11-09 15:20:52 +08:00
2023-06-12 20:02:32 +03:00
2023-03-09 10:56:11 +00:00
2021-01-25 17:08:04 -06:00
2023-02-18 22:52:47 +09:00
2022-09-09 11:51:36 +09:00
2021-11-28 22:33:59 +01:00
2022-01-23 21:50:36 -06:00
2022-08-16 10:08:03 +09:00
2023-10-01 07:12:00 +02:00
2022-08-15 05:25:42 +09:00
2023-06-14 00:18:14 +03:00
2023-06-14 00:22:06 +03:00
2023-08-31 17:44:31 +09:00
2023-06-14 00:23:36 +03:00
2022-08-23 20:38:48 +09:00
2023-06-14 00:25:55 +03:00
2023-02-24 01:16:25 +09:00
2022-08-15 05:25:42 +09:00
2023-06-14 00:44:01 +03:00
2023-06-14 00:45:43 +03:00
2023-06-14 00:50:38 +03:00
2023-06-14 01:13:52 +03:00
2022-10-04 10:53:57 +09:00
2020-05-03 18:13:09 -05:00
2022-08-15 04:54:01 +09:00
2020-08-11 16:38:35 -03:00
2022-08-15 02:36:46 +09:00
2022-08-15 03:44:09 +09:00
2023-06-14 01:19:14 +03:00
2022-08-15 02:36:46 +09:00
2020-03-01 14:36:01 -06:00
2022-08-15 01:44:46 +09:00
2022-08-15 01:08:58 +09:00
2022-08-15 01:08:58 +09:00
2022-08-15 01:08:58 +09:00
2021-06-07 21:12:22 -04:00
2022-01-17 11:14:43 -05:00
2020-10-27 22:14:07 -05:00
2023-04-23 12:26:06 +09:00
2022-10-18 03:26:29 +09:00
2022-08-15 00:34:06 +09:00
2021-01-31 19:26:44 -05:00
2022-02-13 19:05:39 -05:00
2022-08-09 05:49:56 +09:00
2023-02-28 17:45:08 +09:00
2021-04-11 17:38:44 -05:00
2022-08-11 07:21:09 +09:00
2023-05-12 01:42:20 +09:00
2022-08-09 04:12:40 +09: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.