Incorrect default compresslevel (9) in gzip documentation
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
Documentation
The default compresslevel for gzip.open(), the GzipFile constructor, and gzip.compress() is COMPRESS_LEVEL_TRADEOFF (6). The signatures and the "Changed in version" notes in Doc/library/gzip.rst already reflect this (it says "the default compression level was reduced to 6, down from 9").
However, a few places still state the default is 9 and should be updated:-
- the gzip.open() docstring in Lib/gzip.py
- the GzipFile.init docstring in Lib/gzip.py
- the GzipFile paragraph in Doc/library/gzip.rst
Linked PRs
- gh-152634
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.
Rechercherichtung
Lies Lib/gzip.py und Doc/library/gzip.rst und prüfe die drei aufgeführten Docstring- und Absatzpositionen anhand der vorhandenen Signaturen und Versionshinweise. Erledigt ist die Aufgabe, wenn alle verbleibenden Aussagen an diesen Positionen die standardmäßige Komprimierungsstufe konsistent als 6 statt als 9 beschreiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Ruhig
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 30/100