python / python/cpython

smtplib send_message should gives more clear exception if the msg is None

Aperta
#86,973 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

3.10 stdlib topic-email type-feature
Lingua principale
Python
Stelle
77.2k
Fork
36k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

BPO 42807
Nosy @warsaw, @terryjreedy, @bitdancer, @maxking, @oonid

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 2021-01-02.04:23:16.263>
labels = ['type-feature', 'library', '3.10']
title = 'smtplib send_message should gives more clear exception if the msg is None'
updated_at = <Date 2021-01-08.21:34:29.403>
user = 'https://github.com/oonid'

bugs.python.org fields:

activity = <Date 2021-01-08.21:34:29.403>
actor = 'terry.reedy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-01-02.04:23:16.263>
creator = 'oon'
dependencies = []
files = []
hgrepos = []
issue_num = 42807
keywords = []
message_count = 2.0
messages = ['384216', '384692']
nosy_count = 5.0
nosy_names = ['barry', 'terry.reedy', 'r.david.murray', 'maxking', 'oon']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'test needed'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue42807'
versions = ['Python 3.10']

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia individuando smtplib.send_message e verifica come gestisce un messaggio None. Controlla i test smtplib esistenti, aggiungi la copertura per questo input e conferma che l’eccezione risultante sia più chiara senza modificare gli altri comportamenti di send_message.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
networking
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.