ftplib: command response shift - mismatch

Open
#69,644 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
networking

Research direction

Start by reviewing the referenced ftplib.py and test_ftp.py files, then read ftp_error_illustration.txt to understand the reported command-response mismatch. Compare the historical patch and test with the current implementation and existing FTP tests; done means the mismatch is reproduced and covered by a passing regression test.

Written by the indexing model from the issue text.

Description

3.7 (EOL) stdlib type-bug
BPO 25458
Nosy @giampaolo, @native-api
Files
  • ftplib.py: patched ftplib.py
  • test_ftp.py: test for patched ftplib.py
  • ftp_error_illustration.txt
  • 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-10-22.10:35:52.716>
    labels = ['3.7', 'type-bug', 'library']
    title = 'ftplib: command response shift - mismatch'
    updated_at = <Date 2016-12-14.22:48:22.756>
    user = 'https://bugs.python.org/peterpan'
    

    bugs.python.org fields:

    activity = <Date 2016-12-14.22:48:22.756>
    actor = 'Ivan.Pozdeev'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-10-22.10:35:52.716>
    creator = 'peterpan'
    dependencies = []
    files = ['42099', '42100', '45820']
    hgrepos = []
    issue_num = 25458
    keywords = []
    message_count = 15.0
    messages = ['253326', '261374', '261389', '261417', '261418', '282775', '282793', '282796', '282797', '282899', '283073', '283125', '283215', '283217', '283225']
    nosy_count = 3.0
    nosy_names = ['giampaolo.rodola', 'Ivan.Pozdeev', 'peterpan']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25458'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.