Identify Moved Lines with difflib

Offen
#67,979 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
tooling

Rechercherichtung

Start by reviewing the attached python_diff_move.zip, which contains basic tests for the proposed difflib move feature. Read the existing difflib implementation and the included tests to determine the expected moved-line behavior. Done means the feature is implemented in the library and the basic tests pass, with additional coverage for the agreed behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

stdlib type-feature
BPO 23791
Nosy @terryjreedy
Files
  • python_diff_move.zip: Basic tests to impliment difflib move feature
  • 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 2015-03-27.16:25:20.365>
    labels = ['type-feature', 'library']
    title = 'Identify Moved Lines with difflib'
    updated_at = <Date 2015-04-03.20:16:31.950>
    user = 'https://bugs.python.org/bkiefer'
    

    bugs.python.org fields:

    activity = <Date 2015-04-03.20:16:31.950>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-03-27.16:25:20.365>
    creator = 'bkiefer'
    dependencies = []
    files = ['38747']
    hgrepos = []
    issue_num = 23791
    keywords = []
    message_count = 2.0
    messages = ['239416', '239649']
    nosy_count = 2.0
    nosy_names = ['terry.reedy', 'bkiefer']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue23791'
    versions = ['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

    Neue Issues direkt in Ihr Postfach

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