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

Add asyncio.Handle.cancelled() method #76124

Closed
decaz mannequin opened this issue Nov 4, 2017 · 1 comment
Closed

Add asyncio.Handle.cancelled() method #76124

decaz mannequin opened this issue Nov 4, 2017 · 1 comment
Labels
3.7 (EOL) end of life docs Documentation in the Doc dir stdlib Python modules in the Lib dir topic-asyncio type-feature A feature request or enhancement

Comments

@decaz
Copy link
Mannequin

decaz mannequin commented Nov 4, 2017

BPO 31943
Nosy @1st1, @decaz
PRs
  • bpo-31943: Add asyncio.Handle.cancelled() method #2388
  • 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 2017-11-18.14:15:21.714>
    created_at = <Date 2017-11-04.16:27:05.939>
    labels = ['3.7', 'type-feature', 'library', 'docs', 'expert-asyncio']
    title = 'Add asyncio.Handle.cancelled() method'
    updated_at = <Date 2017-11-18.14:20:51.565>
    user = 'https://github.com/decaz'

    bugs.python.org fields:

    activity = <Date 2017-11-18.14:20:51.565>
    actor = 'decaz'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2017-11-18.14:15:21.714>
    closer = 'asvetlov'
    components = ['Documentation', 'Library (Lib)', 'asyncio']
    creation = <Date 2017-11-04.16:27:05.939>
    creator = 'decaz'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31943
    keywords = []
    message_count = 1.0
    messages = ['305561']
    nosy_count = 3.0
    nosy_names = ['docs@python', 'yselivanov', 'decaz']
    pr_nums = ['2388']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31943'
    versions = ['Python 3.7']

    @decaz
    Copy link
    Mannequin Author

    decaz mannequin commented Nov 4, 2017

    It would be handy to access the loop's time the Handle's callback will be called at if you are using delayed calls with "delay" (not "when") argument.
    Also it is useful to know whether the call was cancelled through the special attribute.

    @decaz decaz mannequin assigned docspython Nov 4, 2017
    @decaz decaz mannequin added docs Documentation in the Doc dir stdlib Python modules in the Lib dir topic-asyncio type-feature A feature request or enhancement labels Nov 4, 2017
    @decaz decaz mannequin changed the title Add asyncio.Handle.cancelled() and asyncio.TimerHandle.when Add asyncio.Handle.cancelled() method Nov 6, 2017
    @decaz decaz mannequin added the 3.7 (EOL) end of life label Nov 18, 2017
    @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.7 (EOL) end of life docs Documentation in the Doc dir stdlib Python modules in the Lib dir topic-asyncio type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant