SimpleHTTPServer throwed an exception due to negtive st_mtime attr in file

Aberta
#69,720 8 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
35/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 with the attached test, “strange last modified date,” and reproduce the exception in SimpleHTTPServer on Windows using a file with a negative st_mtime. Trace the response path and add a regression test; done means the server handles that timestamp without throwing.

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

Descrição

OS-windows stdlib type-bug
BPO 25534
Nosy @terryjreedy, @pfmoore, @tjguk, @vadmium, @zware, @truebit, @zooba, @zhangyangyu
Files
  • test: strange last modified date
  • 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-11-02.15:35:17.357>
    labels = ['type-bug', 'library', 'OS-windows']
    title = 'SimpleHTTPServer throwed an exception due to negtive st_mtime attr in file'
    updated_at = <Date 2015-11-07.01:41:26.823>
    user = 'https://github.com/truebit'
    

    bugs.python.org fields:

    activity = <Date 2015-11-07.01:41:26.823>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2015-11-02.15:35:17.357>
    creator = 'Sean.Wang'
    dependencies = []
    files = ['40929']
    hgrepos = []
    issue_num = 25534
    keywords = []
    message_count = 8.0
    messages = ['253926', '253927', '253948', '254081', '254082', '254083', '254246', '254249']
    nosy_count = 8.0
    nosy_names = ['terry.reedy', 'paul.moore', 'tim.golden', 'martin.panter', 'zach.ware', 'Sean.Wang', 'steve.dower', 'xiang.zhang']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25534'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']
    

    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.