Skip to content

[subinterpreters] Implement _xxsubinterpreters.channel_send_wait() #84570

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

Closed
benedwards14 mannequin opened this issue Apr 25, 2020 · 3 comments
Closed

[subinterpreters] Implement _xxsubinterpreters.channel_send_wait() #84570

benedwards14 mannequin opened this issue Apr 25, 2020 · 3 comments
Labels
3.9 only security fixes topic-subinterpreters type-feature A feature request or enhancement

Comments

@benedwards14
Copy link
Mannequin

benedwards14 mannequin commented Apr 25, 2020

BPO 40390
Nosy @ericsnowcurrently, @benedwards14
PRs
  • bpo-40390: Implement channel_send_wait for subinterpreters #19715
  • 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 = None
    created_at = <Date 2020-04-25.19:19:24.075>
    labels = ['expert-subinterpreters', 'type-feature', '3.9']
    title = '[subinterpreters] Implement _xxsubinterpreters.channel_send_wait()'
    updated_at = <Date 2020-05-15.00:39:23.419>
    user = 'https://github.com/benedwards14'

    bugs.python.org fields:

    activity = <Date 2020-05-15.00:39:23.419>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Subinterpreters']
    creation = <Date 2020-04-25.19:19:24.075>
    creator = 'benedwards14'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40390
    keywords = ['patch']
    message_count = 3.0
    messages = ['367280', '367560', '367859']
    nosy_count = 2.0
    nosy_names = ['eric.snow', 'benedwards14']
    pr_nums = ['19715']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue40390'
    versions = ['Python 3.9']

    Linked PRs

    @benedwards14
    Copy link
    Mannequin Author

    benedwards14 mannequin commented Apr 25, 2020

    When sending a message to another interpreter allow the caller to wait until the message has been received.

    @benedwards14 benedwards14 mannequin added topic-C-API 3.9 only security fixes type-feature A feature request or enhancement labels Apr 25, 2020
    @ericsnowcurrently
    Copy link
    Member

    Thanks, Ben. I'll take a look.

    @ericsnowcurrently ericsnowcurrently added stdlib Python modules in the Lib dir and removed topic-C-API labels Apr 28, 2020
    @ericsnowcurrently ericsnowcurrently changed the title Implement a C API for channel_send_wait for subinterpreters. Implement _xxsubinterpreters.channel_send_wait(). Apr 28, 2020
    @ericsnowcurrently ericsnowcurrently added stdlib Python modules in the Lib dir and removed topic-C-API labels Apr 28, 2020
    @ericsnowcurrently ericsnowcurrently changed the title Implement a C API for channel_send_wait for subinterpreters. Implement _xxsubinterpreters.channel_send_wait(). Apr 28, 2020
    @ericsnowcurrently
    Copy link
    Member

    Thanks for working on this, Ben! FWIW, I've put up a separate PR to demonstrate how I was thinking we would solve this: #19829.

    @vstinner vstinner added topic-subinterpreters and removed stdlib Python modules in the Lib dir labels May 15, 2020
    @vstinner vstinner changed the title Implement _xxsubinterpreters.channel_send_wait(). [subinterpreters] Implement _xxsubinterpreters.channel_send_wait() May 15, 2020
    @vstinner vstinner added topic-subinterpreters and removed stdlib Python modules in the Lib dir labels May 15, 2020
    @vstinner vstinner changed the title Implement _xxsubinterpreters.channel_send_wait(). [subinterpreters] Implement _xxsubinterpreters.channel_send_wait() May 15, 2020
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @ezio-melotti ezio-melotti moved this to Todo in Subinterpreters Apr 15, 2022
    ericsnowcurrently added a commit that referenced this issue Oct 10, 2023
    We had been faking it (poorly).
    
    We will add timeouts separately.
    @github-project-automation github-project-automation bot moved this from Todo to Done in Subinterpreters Oct 14, 2023
    ericsnowcurrently added a commit that referenced this issue Oct 16, 2023
    This makes several subsequent changes cleaner.
    ericsnowcurrently added a commit that referenced this issue Oct 17, 2023
    There were a few things I did in gh-110565 that need to be fixed. I also forgot to add tests in that PR.
    
    (Note that this PR exposes a refleak introduced by gh-110246. I'll take care of that separately.)
    aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
    This makes several subsequent changes cleaner.
    aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
    There were a few things I did in pythongh-110565 that need to be fixed. I also forgot to add tests in that PR.
    
    (Note that this PR exposes a refleak introduced by pythongh-110246. I'll take care of that separately.)
    Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
    )
    
    We had been faking it (poorly).
    
    We will add timeouts separately.
    Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
    This makes several subsequent changes cleaner.
    Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
    There were a few things I did in pythongh-110565 that need to be fixed. I also forgot to add tests in that PR.
    
    (Note that this PR exposes a refleak introduced by pythongh-110246. I'll take care of that separately.)
    Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes topic-subinterpreters type-feature A feature request or enhancement
    Projects
    Status: Done
    Development

    No branches or pull requests

    2 participants