Skip to content

ftplib and sendfile() #57773

@giampaolo

Description

@giampaolo
BPO 13564
Nosy @pitrou, @giampaolo, @merwok
Dependencies
  • bpo-17552: Add a new socket.sendfile() method
  • Files
  • ftplib-sendfile.patch: initial draft
  • ftplib-sendfile2.patch: nobytes = fiilesize
  • ftplib-sendfile3.patch: use poll(); sock timeout; look for EMFILE;
  • ftplib-sendfile4.patch: do not set non-blocking; factor out support functions; improve test
  • ftplib-sendfile5.patch: uses socket.sendfile()
  • 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 = 'https://github.com/giampaolo'
    closed_at = None
    created_at = <Date 2011-12-09.06:56:06.908>
    labels = ['3.7', 'performance']
    title = 'ftplib and sendfile()'
    updated_at = <Date 2016-09-08.22:54:07.941>
    user = 'https://github.com/giampaolo'

    bugs.python.org fields:

    activity = <Date 2016-09-08.22:54:07.941>
    actor = 'christian.heimes'
    assignee = 'giampaolo.rodola'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2011-12-09.06:56:06.908>
    creator = 'giampaolo.rodola'
    dependencies = ['17552']
    files = ['23890', '29336', '29351', '29357', '35568']
    hgrepos = []
    issue_num = 13564
    keywords = ['patch']
    message_count = 32.0
    messages = ['149076', '149170', '149237', '183599', '183601', '183602', '183603', '183606', '183607', '183609', '183622', '183637', '183654', '183655', '183666', '183669', '183670', '183673', '183680', '183754', '183755', '183814', '183827', '183828', '183831', '183832', '183834', '183835', '184881', '184882', '185293', '220261']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'giampaolo.rodola', 'eric.araujo', 'rosslagerwall']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue13564'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.12only security fixesperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions