Skip to content

Allow registering at-fork handlers #60704

@tiran

Description

@tiran
BPO 16500
Nosy @malemburg, @Yhg1s, @birkenfeld, @gpshead, @jcea, @amauryfa, @pitrou, @vstinner, @tiran, @asvetlov, @socketpair, @serhiy-storchaka, @1st1, @ajdavis
PRs
  • bpo-16500: Allow registering at-fork handlers #1715
  • bpo-16500: Don't use string constants for os.register_at_fork() behavior #1834
  • Doc nits for bpo-16500 #1841
  • bpo-16500: Use register_at_fork() in the threading module #1843
  • bpo-31234: Enhance test_thread.test_forkinthread() #3516
  • [3.6] bpo-31234: Enhance test_thread.test_forkinthread() (GH-3516) #3519
  • Files
  • pure-python-atfork.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 = 'https://github.com/gpshead'
    closed_at = <Date 2017-05-29.17:05:38.621>
    created_at = <Date 2012-11-18.15:20:05.282>
    labels = ['extension-modules', 'interpreter-core', 'type-feature', '3.7']
    title = 'Allow registering at-fork handlers'
    updated_at = <Date 2017-09-12.23:14:11.915>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2017-09-12.23:14:11.915>
    actor = 'vstinner'
    assignee = 'gregory.p.smith'
    closed = True
    closed_date = <Date 2017-05-29.17:05:38.621>
    closer = 'gregory.p.smith'
    components = ['Extension Modules', 'Interpreter Core']
    creation = <Date 2012-11-18.15:20:05.282>
    creator = 'christian.heimes'
    dependencies = []
    files = ['28044']
    hgrepos = []
    issue_num = 16500
    keywords = ['patch', 'needs review']
    message_count = 58.0
    messages = ['175878', '175892', '175967', '175972', '175973', '175974', '175975', '175980', '175997', '176002', '176004', '176019', '176020', '176022', '179838', '179888', '179927', '179945', '179949', '200767', '200774', '200777', '200778', '200779', '200780', '200789', '200797', '200826', '200843', '201892', '201899', '201909', '201912', '266590', '294141', '294145', '294146', '294147', '294148', '294149', '294159', '294597', '294629', '294633', '294634', '294635', '294639', '294640', '294641', '294642', '294651', '294702', '294703', '294705', '294711', '294724', '301983', '302006']
    nosy_count = 23.0
    nosy_names = ['lemburg', 'twouters', 'georg.brandl', 'gregory.p.smith', 'jcea', 'amaury.forgeotdarc', 'pitrou', 'vstinner', 'christian.heimes', 'grahamd', 'Arfrever', 'ionelmc', 'asvetlov', 'neologix', 'socketpair', 'sbt', 'aliles', 'serhiy.storchaka', 'yselivanov', 'DLitz', 'emptysquare', 'xupeng', 'rpcope1']
    pr_nums = ['1715', '1834', '1841', '1843', '3516', '3519']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue16500'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifeextension-modulesC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions