Skip to content

shutil.copyfile should internally use os.sendfile when possible #69343

@desbma

Description

@desbma
mannequin
BPO 25156
Nosy @vstinner, @giampaolo, @bitdancer, @vadmium, @desbma, @MojoVampire
Superseder
  • bpo-33671: Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)
  • Files
  • issue25156.patch: First patch
  • issue25156_v2.patch
  • issue25156_v3.patch
  • issue25156_v4.patch
  • issue25156_v5.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 = <Date 2018-07-27.13:13:35.509>
    created_at = <Date 2015-09-17.20:08:04.996>
    labels = ['type-feature', 'library']
    title = 'shutil.copyfile should internally use os.sendfile when possible'
    updated_at = <Date 2018-07-27.13:26:04.738>
    user = 'https://github.com/desbma'

    bugs.python.org fields:

    activity = <Date 2018-07-27.13:26:04.738>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-27.13:13:35.509>
    closer = 'giampaolo.rodola'
    components = ['Library (Lib)']
    creation = <Date 2015-09-17.20:08:04.996>
    creator = 'desbma'
    dependencies = []
    files = ['40881', '40906', '40911', '41243', '41252']
    hgrepos = []
    issue_num = 25156
    keywords = ['patch']
    message_count = 21.0
    messages = ['250918', '251246', '253643', '253648', '253649', '253650', '253669', '253701', '253767', '253778', '253781', '253790', '253799', '255769', '255908', '255981', '255983', '257345', '259808', '317628', '322489']
    nosy_count = 8.0
    nosy_names = ['vstinner', 'giampaolo.rodola', 'gps', 'r.david.murray', 'SilentGhost', 'martin.panter', 'desbma', 'josh.r']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '33671'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue25156'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions