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

Normalize asyncio future and task repr() #91195

Closed
asvetlov opened this issue Mar 16, 2022 · 2 comments
Closed

Normalize asyncio future and task repr() #91195

asvetlov opened this issue Mar 16, 2022 · 2 comments
Labels
3.11 only security fixes topic-asyncio

Comments

@asvetlov
Copy link
Contributor

BPO 47039
Nosy @asvetlov, @1st1
PRs
  • bpo-47039: Normalize repr() of asyncio future and task objects #31950
  • 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 2022-03-17.01:03:44.094>
    created_at = <Date 2022-03-16.23:53:06.592>
    labels = ['3.11', 'expert-asyncio']
    title = 'Normalize asyncio future and task repr()'
    updated_at = <Date 2022-03-17.01:03:44.094>
    user = 'https://github.com/asvetlov'

    bugs.python.org fields:

    activity = <Date 2022-03-17.01:03:44.094>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-17.01:03:44.094>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2022-03-16.23:53:06.592>
    creator = 'asvetlov'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 47039
    keywords = ['patch']
    message_count = 2.0
    messages = ['415375', '415380']
    nosy_count = 2.0
    nosy_names = ['asvetlov', 'yselivanov']
    pr_nums = ['31950']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue47039'
    versions = ['Python 3.11']

    @asvetlov
    Copy link
    Contributor Author

    Return ... in the case of recursive representation.

    Now the only result is replaced with ..., all other future properties are still printed.
    It doesn't follow repr() for other stdlib objects.

    @asvetlov asvetlov added 3.11 only security fixes topic-asyncio labels Mar 16, 2022
    @asvetlov
    Copy link
    Contributor Author

    New changeset 30b5d41 by Andrew Svetlov in branch 'main':
    bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950)
    30b5d41

    @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.11 only security fixes topic-asyncio
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant