Multi-layered symlinks to python cause runtime error. sys.path is malformed.

Aberta
#57,393 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
30/100
Tipo de issue
Bug
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python

Direção de pesquisa

Start by reading the historical symlink_path_fix.patch and reproduce the multi-layered symlink launch case described in the issue. Trace Python startup path handling and verify that sys.path is correctly formed; done means the runtime error is resolved without malformed entries.

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

Descrição

interpreter-core type-bug
BPO 13184
Nosy @terryjreedy, @ncoghlan
Files
  • symlink_path_fix.patch
  • 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 2011-10-15.05:14:40.251>
    labels = ['interpreter-core', 'type-bug']
    title = 'Multi-layered symlinks to python cause runtime error.  sys.path is malformed.'
    updated_at = <Date 2013-02-01.21:54:27.632>
    user = 'https://bugs.python.org/JasonHowlett'
    

    bugs.python.org fields:

    activity = <Date 2013-02-01.21:54:27.632>
    actor = 'brett.cannon'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2011-10-15.05:14:40.251>
    creator = 'Jason.Howlett'
    dependencies = []
    files = ['23415']
    hgrepos = []
    issue_num = 13184
    keywords = ['patch']
    message_count = 4.0
    messages = ['145582', '145608', '146139', '146158']
    nosy_count = 3.0
    nosy_names = ['terry.reedy', 'ncoghlan', 'Jason.Howlett']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13184'
    versions = ['Python 2.7']
    

    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.