strptime() with year-weekday pair can produce invalid data

Aberta
#67,905 6 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
30/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
backend

Direção de pesquisa

Start by reproducing the invalid result from strptime() with a year-weekday pair, then inspect the Python library code responsible for parsing it. Compare the result with the expected calendar date and add regression coverage showing that the parsed data is valid.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

stdlib type-bug
BPO 23717
Nosy @malemburg, @smontanaro, @abalkin, @serhiy-storchaka, @iritkatriel

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 2015-03-20.11:19:31.875>
labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
title = 'strptime() with year-weekday pair can produce invalid data'
updated_at = <Date 2021-11-30.00:12:31.129>
user = 'https://github.com/serhiy-storchaka'

bugs.python.org fields:

activity = <Date 2021-11-30.00:12:31.129>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2015-03-20.11:19:31.875>
creator = 'serhiy.storchaka'
dependencies = []
files = []
hgrepos = []
issue_num = 23717
keywords = []
message_count = 6.0
messages = ['238645', '238679', '238682', '238695', '238702', '407340']
nosy_count = 5.0
nosy_names = ['lemburg', 'skip.montanaro', 'belopolsky', 'serhiy.storchaka', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue23717'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

Linguagem predominante
Python
Estrelas
77.2k
Forks
36k
Merge médio
1d 9h
PRs com merge (30d)
558

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de python/cpython

Todas as issues de python/cpython

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.