Skip to content

open() does not able to set flags, such as O_CLOEXEC #56314

@socketpair

Description

@socketpair
BPO 12105
Nosy @birkenfeld, @amauryfa, @pitrou, @vstinner, @socketpair, @akheron
Superseder
  • bpo-12797: io.FileIO and io.open should support openat
  • Files
  • os_cloexec.diff: patch adding O_CLOEXEC to os module
  • os_cloexec_1.diff
  • open_cloexec.py
  • 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 2011-10-29.15:57:50.014>
    created_at = <Date 2011-05-18.19:11:28.652>
    labels = ['type-bug', 'library']
    title = 'open() does not able to set flags, such as O_CLOEXEC'
    updated_at = <Date 2013-01-03.15:24:48.325>
    user = 'https://github.com/socketpair'

    bugs.python.org fields:

    activity = <Date 2013-01-03.15:24:48.325>
    actor = 'vstinner'
    assignee = 'neologix'
    closed = True
    closed_date = <Date 2011-10-29.15:57:50.014>
    closer = 'neologix'
    components = ['Library (Lib)']
    creation = <Date 2011-05-18.19:11:28.652>
    creator = 'socketpair'
    dependencies = []
    files = ['22031', '22032', '22078']
    hgrepos = []
    issue_num = 12105
    keywords = ['patch']
    message_count = 49.0
    messages = ['136259', '136261', '136264', '136327', '136328', '136329', '136333', '136353', '136356', '136358', '136525', '136527', '136529', '136535', '136537', '136560', '136561', '136562', '136570', '136572', '136573', '136607', '136608', '136609', '136612', '136615', '136616', '136618', '136619', '136623', '136624', '136696', '136707', '136759', '143590', '143591', '143594', '143595', '143599', '143600', '143740', '143743', '146757', '146760', '146761', '146766', '146768', '178942', '178950']
    nosy_count = 10.0
    nosy_names = ['georg.brandl', 'amaury.forgeotdarc', 'pitrou', 'vstinner', 'neologix', 'socketpair', 'python-dev', 'sbt', 'petri.lehtinen', 'alexey-smirnov']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '12797'
    type = 'behavior'
    url = 'https://bugs.python.org/issue12105'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions