runpy.run_path() fails with frozen __main__ modules

Offen
#65,936 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
compilers

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.