RustPython / RustPython/RustPython

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

Ouverte
#1,204 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

A-stdlib RFC
Langage dominant
Rust
Étoiles
22.4k
Forks
1.5k
Merge moyen
16 h 33 min
PR mergées (30 j)
165

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par examiner l’issue #8 et les issues associées #1192 et #1125, puis lisez les discussions liées au sujet de la bibliothèque standard de CPython et de PEP 594. La tâche est terminée lorsqu’une décision du projet concernant la bibliothèque standard minimale que RustPython devrait fournir a été prise et documentée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python, rust
Domaine
compilers
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.