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

Drop logging when asyncio waits in selector.select() #79030

Closed
asvetlov opened this issue Sep 30, 2018 · 2 comments
Closed

Drop logging when asyncio waits in selector.select() #79030

asvetlov opened this issue Sep 30, 2018 · 2 comments
Labels
3.8 only security fixes topic-asyncio type-bug An unexpected behavior, bug, or error

Comments

@asvetlov
Copy link
Contributor

BPO 34849
Nosy @asvetlov, @1st1, @miss-islington
PRs
  • bpo-34849: Don't log wating for selector.select in asyncio loop iteration #9641
  • 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 2018-10-07.21:26:37.439>
    created_at = <Date 2018-09-30.05:04:51.672>
    labels = ['type-bug', '3.8', 'expert-asyncio']
    title = 'Drop logging when asyncio waits in selector.select()'
    updated_at = <Date 2018-10-07.21:26:37.438>
    user = 'https://github.com/asvetlov'

    bugs.python.org fields:

    activity = <Date 2018-10-07.21:26:37.438>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-07.21:26:37.439>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2018-09-30.05:04:51.672>
    creator = 'asvetlov'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34849
    keywords = ['patch']
    message_count = 2.0
    messages = ['326702', '326703']
    nosy_count = 3.0
    nosy_names = ['asvetlov', 'yselivanov', 'miss-islington']
    pr_nums = ['9641']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34849'
    versions = ['Python 3.8']

    @asvetlov
    Copy link
    Contributor Author

    The waiting is the pretty normal case: no IO is performed and no immediate activities are scheduled.

    Therefore logging such cases is just a noise.

    @asvetlov asvetlov added 3.8 only security fixes topic-asyncio type-bug An unexpected behavior, bug, or error labels Sep 30, 2018
    @miss-islington
    Copy link
    Contributor

    New changeset d5bd036 by Miss Islington (bot) (Andrew Svetlov) in branch 'master':
    bpo-34849: Don't log wating for selector.select in asyncio loop iteration (GH-9641)
    d5bd036

    @asvetlov asvetlov closed this as completed Oct 7, 2018
    @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.8 only security fixes topic-asyncio type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants