Skip to content

shutil.copyfile(): os.sendfile() fails with OverflowError on 32-bit system #82500

Closed
@vstinner

Description

@vstinner
BPO 38319
Nosy @vstinner, @giampaolo, @ambv, @serhiy-storchaka, @pablogsal, @nanjekyejoannah
PRs
  • bpo-38319: Fix shutil._fastcopy_sendfile(): set sendfile() max block size #16491
  • [3.8] bpo-38319: Fix shutil._fastcopy_sendfile(): set sendfile() max block size (GH-16491) #16506
  • 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 2019-10-02.14:39:28.135>
    created_at = <Date 2019-09-30.07:37:51.943>
    labels = ['3.8', 'library', '3.9']
    title = 'shutil.copyfile(): os.sendfile() fails with OverflowError on 32-bit system'
    updated_at = <Date 2019-10-02.14:39:28.134>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-10-02.14:39:28.134>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-10-02.14:39:28.135>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2019-09-30.07:37:51.943>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38319
    keywords = ['patch']
    message_count = 7.0
    messages = ['353549', '353551', '353569', '353633', '353637', '353645', '353738']
    nosy_count = 6.0
    nosy_names = ['vstinner', 'giampaolo.rodola', 'lukasz.langa', 'serhiy.storchaka', 'pablogsal', 'nanjekyejoannah']
    pr_nums = ['16491', '16506']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue38319'
    versions = ['Python 3.8', 'Python 3.9']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9only security fixesstdlibPython modules in the Lib dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions