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

Aperta
#57,393 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.