| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| module | ||
| _abc | ||
| _bisect | ||
| _blake2 | ||
| _datetime | ||
| _elementtree | ||
| _heapq | ||
| _locale | ||
| _md5 | ||
| _pickle | ||
| _sha1 | ||
| _sha256 | ||
| _sha3 | ||
| _sha512 | ||
| _stat | ||
| _statistics | ||
| _symtable | ||
| _tracemalloc | ||
| cmath | ||
| fcntl | ||
| grp | ||
| pyexpat | ||
| spwd | ||
| syslog | ||
| xxsubtype | ||
| _bootlocale | ||
| _strptime | ||
| _sysconfigdata__linux_x86_64-linux-gnu | ||
| _sysconfigdata__x86_64-linux-gnu | ||
| binhex | ||
| bz2 | ||
| cProfile | ||
| cgitb | ||
| contextvars | ||
| crypt | ||
| ctypes | ||
| curses | ||
| dataclasses | ||
| dbm | ||
| dummy_threading | ||
| ensurepip | ||
| filecmp | ||
| fileinput | ||
| imaplib | ||
| lib2to3 | ||
| lzma | ||
| mailbox | ||
| mailcap | ||
| modulefinder | ||
| nntplib | ||
| pickletools | ||
| pipes | ||
| poplib | ||
| profile | ||
| pstats | ||
| pty | ||
| pyclbr | ||
| rlcompleter | ||
| shelve | ||
| sitecustomize | ||
| smtpd | ||
| smtplib | ||
| sqlite3 | ||
| symbol | ||
| tabnanny | ||
| trace | ||
| tracemalloc | ||
| tty | ||
| wave | ||
| zipapp | ||
| _asyncio | ||
| _bz2 | ||
| _codecs_cn | ||
| _codecs_hk | ||
| _codecs_iso2022 | ||
| _codecs_jp | ||
| _codecs_kr | ||
| _codecs_tw | ||
| _contextvars | ||
| _crypt | ||
| _ctypes | ||
| _ctypes_test | ||
| _curses | ||
| _curses_panel | ||
| _dbm | ||
| _decimal | ||
| _gdbm | ||
| _hashlib | ||
| _lsprof | ||
| _lzma | ||
| _multibytecodec | ||
| _opcode | ||
| _posixshmem | ||
| _queue | ||
| _sqlite3 | ||
| _ssl | ||
| _testbuffer | ||
| _testcapi | ||
| _testimportmultiple | ||
| _testinternalcapi | ||
| _testmultiphase | ||
| _uuid | ||
| _xxsubinterpreters | ||
| _xxtestfuzz | ||
| audioop | ||
| mmap | ||
| nis | ||
| ossaudiodev | ||
| parser | ||
| readline | ||
| resource | ||
| termios | ||
| xxlimited |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| --- | ||
| layout: default | ||
| --- | ||
|
|
||
| <div class="w-80 m-auto mt-2"> | ||
| <div class="d-md-flex"> | ||
| <div class="d-sm-none"> | ||
| <img class="logo" src="{{site.baseurl}}/assets/img/rust-python-logo.svg" alt="RustPython Logo"> | ||
| </div> | ||
| <div class="pl-md-2"> | ||
| <div class="title">{{ site.title }}</div> | ||
| <div class="section-title">{{ page.title }} </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
|
|
||
| <div class="w-80 m-auto mt-2"> | ||
| {{ content }} | ||
| <div class="section-title">What's Left: entire modules</div> | ||
| <div class="column-count-is-2"> | ||
| <ol> | ||
| {% for item in site.data.whats_left.modules %} | ||
| <li class="word-wrap-anywhere"> {{ item.module }}</li> | ||
| {% endfor %} | ||
| </ol> | ||
| </div> | ||
| </div> | ||
| </div> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| layout: whats_left | ||
| title: "What's Left" | ||
| date: 2021-03-29 01:45:00 +0900 | ||
| categories: numbers | ||
| --- | ||
|
|
||
| RustPython currently supports the full Python syntax. This is "what's left" from the Python Standard Library. | ||
| For each module's details, check the [Python Module Index](https://docs.python.org/3/py-modindex.html). | ||
|
|
||
| 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 | ||
| readline on top of rustyline just to implement an infrequently used module. | ||
|
|
||
| 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. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| #!/bin/bash | ||
|
|
||
| # create directory in case it doesn't exist | ||
| mkdir -p ../_data/whats_left | ||
|
|
||
| # start a new csv file for modules | ||
| echo "module" > ../_data/whats_left/modules.csv | ||
|
|
||
| # read the temp file and look for "(entire module)" | ||
| # save the output as csv | ||
| cat ../_data/whats_left.temp | grep "(entire module)" | cut -d ' ' -f 1 >> ../_data/whats_left/modules.csv | ||
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityThis is the bash script that we can schedule with a github action. It greps the lines with "entire modules".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityShould we invoke it in the action in RustPython/RustPython that creates whats_left.temp?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityThe downside of invoking from RustPython/RustPython is that the action there will be even more complex and harder to maintain. If we need to add other scripts, we will keep having to do cross referencing.
We can try to trigger the script in a workflow on this repo by using on push + path. Here is how the action would look like
on: push: paths: - '**.temp'Here is the docs on GitHub
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths
This should work, do I give it a try?
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.