Allow built-in module in package

Aberta
#70,833 4 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
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
backend, build-system

Direção de pesquisa

Start by reading the attached builtin_package.patch, importlib_h.patch, and test_builtin_submodule.py, then inspect the related interpreter and build areas in the current tree. Run the referenced test after understanding the proposed behavior. Done means the built-in module can be used within a package and the regression test passes.

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

Descrição

build interpreter-core type-feature
BPO 26646
Nosy @brettcannon, @ncoghlan, @ericsnowcurrently
Files
  • builtin_package.patch: Patch for everything except the importlib.h changes
  • importlib_h.patch: The importlib.h changes
  • test_builtin_submodule.py
  • 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 2016-03-26.20:20:28.345>
    labels = ['interpreter-core', 'type-feature', 'build']
    title = 'Allow built-in module in package'
    updated_at = <Date 2016-04-01.22:14:54.465>
    user = 'https://bugs.python.org/DanielShaulov'
    

    bugs.python.org fields:

    activity = <Date 2016-04-01.22:14:54.465>
    actor = 'brett.cannon'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Build', 'Interpreter Core']
    creation = <Date 2016-03-26.20:20:28.345>
    creator = 'Daniel Shaulov'
    dependencies = []
    files = ['42297', '42298', '42350']
    hgrepos = []
    issue_num = 26646
    keywords = ['patch']
    message_count = 4.0
    messages = ['262495', '262529', '262775', '262777']
    nosy_count = 4.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'eric.snow', 'Daniel Shaulov']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue26646'
    versions = ['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.