runpy.run_path() fails with frozen __main__ modules

Aberta
#65,936 2 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
25/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
compilers

Direção de pesquisa

Start by reading the attached FrozenImporter-without-main-support.patch and investigating the runpy.run_path() failure with frozen main modules in the CPython interpreter core. Reproduce the reported behavior and determine what test coverage is needed; done means runpy.run_path() works correctly for the affected frozen-module case.

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

Descrição

interpreter-core
BPO 21737
Nosy @malemburg, @ncoghlan, @ericsnowcurrently, @iritkatriel
Files
  • FrozenImporter-without-main-support.patch: Patch implementing this idea for Python 3.4.1
  • 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 2014-06-12.16:24:20.051>
    labels = ['interpreter-core']
    title = 'runpy.run_path() fails with frozen __main__ modules'
    updated_at = <Date 2021-12-12.00:21:42.270>
    user = 'https://github.com/malemburg'
    

    bugs.python.org fields:

    activity = <Date 2021-12-12.00:21:42.270>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2014-06-12.16:24:20.051>
    creator = 'lemburg'
    dependencies = []
    files = ['35596']
    hgrepos = []
    issue_num = 21737
    keywords = ['patch']
    message_count = 2.0
    messages = ['220364', '408353']
    nosy_count = 4.0
    nosy_names = ['lemburg', 'ncoghlan', 'eric.snow', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'pending'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue21737'
    versions = ['Python 3.4', 'Python 3.5']
    

    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.