Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os.CLD_KILLED and os.CLD_STOPPED should be implemented #82674

Closed
clintolsen mannequin opened this issue Oct 16, 2019 · 5 comments
Closed

os.CLD_KILLED and os.CLD_STOPPED should be implemented #82674

clintolsen mannequin opened this issue Oct 16, 2019 · 5 comments
Labels
3.9 only security fixes type-feature A feature request or enhancement

Comments

@clintolsen
Copy link
Mannequin

clintolsen mannequin commented Oct 16, 2019

BPO 38493
Nosy @serhiy-storchaka, @corona10, @clintolsen
PRs
  • bpo-38493: Add os.CLD_KILLED and CLD_STOPPED for os #16821
  • 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-21.07:02:12.948>
    created_at = <Date 2019-10-16.04:36:12.740>
    labels = ['type-feature', '3.9']
    title = 'os.CLD_KILLED and os.CLD_STOPPED should be implemented'
    updated_at = <Date 2019-10-21.07:02:12.947>
    user = 'https://github.com/clintolsen'

    bugs.python.org fields:

    activity = <Date 2019-10-21.07:02:12.947>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-10-21.07:02:12.948>
    closer = 'serhiy.storchaka'
    components = []
    creation = <Date 2019-10-16.04:36:12.740>
    creator = 'clintolsen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38493
    keywords = ['patch']
    message_count = 5.0
    messages = ['354769', '354798', '354826', '355027', '355028']
    nosy_count = 4.0
    nosy_names = ['rosslagerwall', 'serhiy.storchaka', 'corona10', 'clintolsen']
    pr_nums = ['16821']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue38493'
    versions = ['Python 3.9']

    @clintolsen
    Copy link
    Mannequin Author

    clintolsen mannequin commented Oct 16, 2019

    I was running some experiments with os.waitid() and noticed that os.CLD_KILLED is not listed in the documentation.

    However, if a process is killed by the system this (missing) value is returned from this function. It seems like possible constant values should be covered or at least documented as such? How should we code around unsupported constant values?

    @clintolsen clintolsen mannequin added 3.7 (EOL) end of life type-feature A feature request or enhancement labels Oct 16, 2019
    @serhiy-storchaka
    Copy link
    Member

    What about CLD_STOPPED?

    For reference, other CLD_* constants were added in bpo-10812.

    @serhiy-storchaka serhiy-storchaka added 3.9 only security fixes and removed 3.7 (EOL) end of life labels Oct 16, 2019
    @corona10
    Copy link
    Member

    What about CLD_STOPPED?

    I think that it should be added also.
    I 've added the CLD_STOPPED on PR 16821.

    @corona10 corona10 changed the title os.CLD_KILLED should be implemented os.CLD_KILLED and os.CLD_STOPPED should be implemented Oct 17, 2019
    @serhiy-storchaka
    Copy link
    Member

    New changeset 2eba6ad by Serhiy Storchaka (Dong-hee Na) in branch 'master':
    bpo-38493: Add os.CLD_KILLED and os.CLD_STOPPED. (GH-16821)
    2eba6ad

    @serhiy-storchaka
    Copy link
    Member

    Thank you for your contribution Dong-hee!

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants