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

Asyncio looping during simultaneously socket read/write and reconnection #76196

Closed
andr-04 mannequin opened this issue Nov 13, 2017 · 3 comments
Closed

Asyncio looping during simultaneously socket read/write and reconnection #76196

andr-04 mannequin opened this issue Nov 13, 2017 · 3 comments
Labels
3.7 (EOL) end of life topic-asyncio type-bug An unexpected behavior, bug, or error

Comments

@andr-04
Copy link
Mannequin

andr-04 mannequin commented Nov 13, 2017

BPO 32015
Nosy @asvetlov, @1st1, @andr-04
PRs
  • bpo-32015: Asyncio looping during simultaneously socket read/write an… #4386
  • [3.6] bpo-32015: Asyncio looping during simultaneously socket read/write an… (GH-4386) #4393
  • Files
  • raise.py: Bug reproducing with reading
  • 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-14.09:19:51.753>
    created_at = <Date 2017-11-13.12:39:18.530>
    labels = ['type-bug', '3.7', 'expert-asyncio']
    title = 'Asyncio looping during simultaneously socket read/write and reconnection'
    updated_at = <Date 2017-11-14.10:14:58.147>
    user = 'https://github.com/andr-04'

    bugs.python.org fields:

    activity = <Date 2017-11-14.10:14:58.147>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-11-14.09:19:51.753>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2017-11-13.12:39:18.530>
    creator = 'andr04'
    dependencies = []
    files = ['47262']
    hgrepos = []
    issue_num = 32015
    keywords = ['patch']
    message_count = 3.0
    messages = ['306154', '306192', '306196']
    nosy_count = 3.0
    nosy_names = ['asvetlov', 'yselivanov', 'andr04']
    pr_nums = ['4386', '4393']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32015'
    versions = ['Python 3.6', 'Python 3.7']

    @andr-04
    Copy link
    Mannequin Author

    andr-04 mannequin commented Nov 13, 2017

    The bug is happened when the async reading/writing interrupted by other async method which reconnects the socket. The closed socket calls the appropriate handler in the loop due to cannot be removed due to wrong fileno of socket.

    @andr-04 andr-04 mannequin added 3.8 only security fixes 3.7 (EOL) end of life topic-asyncio type-bug An unexpected behavior, bug, or error labels Nov 13, 2017
    @andr-04 andr-04 mannequin changed the title Asyncio cycling during simultaneously socket read/write and reconnection Asyncio looping during simultaneously socket read/write and reconnection Nov 13, 2017
    @asvetlov
    Copy link
    Contributor

    New changeset e1d62e0 by Andrew Svetlov (Andrey Egorov) in branch 'master':
    bpo-32015: Asyncio looping during simultaneously socket read/write an… (bpo-4386)
    e1d62e0

    @asvetlov asvetlov removed the 3.8 only security fixes label Nov 14, 2017
    @asvetlov
    Copy link
    Contributor

    New changeset cc0961c by Andrew Svetlov in branch '3.6':
    [3.6] bpo-32015: Asyncio looping during simultaneously socket read/write an… (GH-4386) (bpo-4393)
    cc0961c

    @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 topic-asyncio type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant