Skip to content

Commit 6c33a6b

Browse files
committed
finish up what is left, add link to homepage
1 parent f2eddec commit 6c33a6b

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ navigation:
4646
dashboards:
4747
- title: CPython test compatibility
4848
url: /pages/regression-tests-results.html
49+
- title: What's left to add to RustPython
50+
url: /pages/whats-left
4951

5052
# Build settings
5153
theme: minima

_layouts/whats_left.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
<div class="w-80 m-auto mt-2">
19-
{{ page.content }}
19+
{{ content }}
2020
<div class="section-title">What's Left: entire modules</div>
2121
<div class="column-count-is-2">
2222
<ol>

pages/whats-left.markdown

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@ date: 2021-03-29 01:45:00 +0900
55
categories: numbers
66
---
77

8-
<p>
9-
RustPython currently supports the full Python syntax. This is "what's left" from the Python Standard Library. For each module's details, check the <a href="https://docs.python.org/3/py-modindex.html">Python Module Index</a>. </p>
8+
RustPython currently supports the full Python syntax. This is "what's left" from the Python Standard Library.
9+
For each module's details, check the [Python Module Index](https://docs.python.org/3/py-modindex.html).
10+
11+
Note that not every module here is critical or feasible for RustPython to implement. For example, the `readline` Python module is heavily based around the API of GNU readline, but we use rustyline (a different readline implementation), so it probably wouldn't be worth the effort to emulate GNU
12+
readline on top of rustyline just to implement an infrequently used module.
13+
14+
In addition, some modules may just be modules written in Python that we haven't copied over to the stdlib yet; always be sure to check whether a module is implemented in Python before trying to rewrite it in Rust. You can follow [these instructions](https://rustpython.github.io/blog/2020/04/04/how-to-contribute-by-cpython-unittest.html#add-a-new-unittest-file) for copying over files from CPython's Lib.

0 commit comments

Comments
 (0)