Don't use builtins.function and others anymore
Offen
@JelleZijlstra arbeitet bereits daran.
Seit 31.3.2022.
affects-typeshed
feature
good-second-issue
priority-0-high
- Vorherrschende Sprache
- Python
- Sterne
- 20.6k
- Forks
- 3.3k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
There are at least two classes in typeshed's builtins.pyi (
class function and class ellipsis, that should not belong there.
The issues in typeshed are:
However, typeshed's CI will break if you still use these classes. Please find another way to implement this and let typeshed remove those classes (respectively rename ellipsis to _ellipsis).
The problem is that other software does depend on typeshed as well and for example Jedi this leads to bugs.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.