RustPython / RustPython/RustPython

[RFC] How much of the standard library should be supported

Offen
#1,204 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

A-stdlib RFC
Vorherrschende Sprache
Rust
Sterne
22.4k
Forks
1.5k
Ø Merge
16 Std. 33 Min.
Gemergte PRs (30 T.)
165

Beschreibung

Summary

Given the recent discussions about the size of CPython's standard library, and proposals to drop a few modules, splitting the core standard library from the extra batteries, and so on, perhaps would it be a good idea to define the extent of the standard library to be implemented/provided in rustpython.

Detailed Explanation

Issue #8 calls for the expansion of the standard library, but I feel that a blind call might not be the best idea. Instead, a more directed call for help would provide more cohesiveness of the work.

However, more importantly, discussions about the size of CPython have been surfacing here, a view of the future here, suggestion on how to approach a kernel-python PEP-594 to remove modules (https://www.python.org/dev/peps/pep-0594/).

The question is, where does rustpython want to be with this current context.

Drawbacks, Rationale, and Alternatives

The main rationale would be to allow rustpython to be an example of how a minimal modern Python interpreter could be when given the freedom from the ground up. This would also reduce the maintenance burden and the required work to produce a working interpreter by focusing effort.

This issue is somewhat linked in spirit with issue #1192 and #1125.

Unresolved Questions

How to define what would be the minimal standard library to be shipped with rustpython?

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, Issue #8 und die zugehörigen Issues #1192 und #1125 zu prüfen, und lies anschließend die verlinkten Diskussionen über die Standardbibliothek von CPython und PEP 594. Abgeschlossen ist die Aufgabe, wenn eine Projektentscheidung über die minimale Standardbibliothek, die RustPython bereitstellen sollte, erreicht und dokumentiert wurde.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, rust
Bereich
compilers
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.