Add optional weights to random.sample()
Offen
Dieses Issue hat noch niemand übernommen.
3.9 (EOL)
stdlib
type-feature
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
| BPO | 40569 |
|---|---|
| Nosy | @tim-one, @rhettinger, @mdickinson, @Cryvate, @dhdavvie |
| PRs |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2020-05-08.19:56:47.608>
labels = ['type-feature', 'library', '3.9']
title = 'Add optional weights to random.sample()'
updated_at = <Date 2020-05-10.09:06:35.481>
user = 'https://github.com/rhettinger'
bugs.python.org fields:
activity = <Date 2020-05-10.09:06:35.481>
actor = 'dheiberg'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-05-08.19:56:47.608>
creator = 'rhettinger'
dependencies = []
files = []
hgrepos = []
issue_num = 40569
keywords = ['patch']
message_count = 5.0
messages = ['368458', '368559', '368562', '368565', '368573']
nosy_count = 5.0
nosy_names = ['tim.peters', 'rhettinger', 'mark.dickinson', 'cryvate', 'dheiberg']
pr_nums = ['20014']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue40569'
versions = ['Python 3.9']
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
Beginne mit der Prüfung von PR #20014 und des bestehenden random.sample()-Einstiegspunkts in Pythons Standardbibliothek. Bestimme das beabsichtigte Verhalten für optionale Gewichte und bestätige, dass das Feature vollständig ist, wenn gewichtetes Sampling ohne Gewichte funktioniert und dabei abwärtskompatibel bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100