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

Implement Happy Eyeball in asyncio #77711

Closed
twisteroidambassador mannequin opened this issue May 16, 2018 · 2 comments
Closed

Implement Happy Eyeball in asyncio #77711

twisteroidambassador mannequin opened this issue May 16, 2018 · 2 comments
Labels
3.8 only security fixes topic-asyncio type-feature A feature request or enhancement

Comments

@twisteroidambassador
Copy link
Mannequin

twisteroidambassador mannequin commented May 16, 2018

BPO 33530
Nosy @njsmith, @asvetlov, @1st1, @twisteroidambassador, @miss-islington
PRs
  • bpo-33530: Implement Happy Eyeballs in asyncio. #7097
  • bpo-33530: Implement Happy Eyeballs in asyncio, v2 #7237
  • 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 2019-05-05.11:15:57.577>
    created_at = <Date 2018-05-16.02:56:28.513>
    labels = ['type-feature', '3.8', 'expert-asyncio']
    title = 'Implement Happy Eyeball in asyncio'
    updated_at = <Date 2019-05-05.11:15:57.576>
    user = 'https://github.com/twisteroidambassador'

    bugs.python.org fields:

    activity = <Date 2019-05-05.11:15:57.576>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-05.11:15:57.577>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2018-05-16.02:56:28.513>
    creator = 'twisteroid ambassador'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33530
    keywords = ['patch']
    message_count = 2.0
    messages = ['316757', '341427']
    nosy_count = 6.0
    nosy_names = ['njs', 'asvetlov', 'Yury.Selivanov', 'yselivanov', 'twisteroid ambassador', 'miss-islington']
    pr_nums = ['7097', '7237']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue33530'
    versions = ['Python 3.8']

    @twisteroidambassador
    Copy link
    Mannequin Author

    twisteroidambassador mannequin commented May 16, 2018

    Add a Happy Eyeballs implementation to asyncio, based on work in https://github.com/twisteroidambassador/async_stagger .

    Current plans:

    • Add 2 keyword arguments to loop.create_connection and asyncio.open_connection.

      • delay: Optional[float] = None. None disables happy eyeballs. A number >= 0 means the delay between starting new connections.

      • interleave: int = 1. Controls reordering of resolved IP addresses by address family.

    • Optionally, expose the happy eyeballs scheduling helper function.

      • It's currently called "staggered_race()". Suggestions for a better name welcome.

      • Should it belong to base_events.py, some other existing file or a new file?

    @twisteroidambassador twisteroidambassador mannequin added 3.8 only security fixes topic-asyncio type-feature A feature request or enhancement labels May 16, 2018
    @miss-islington
    Copy link
    Contributor

    New changeset 88f07a8 by Miss Islington (bot) (twisteroid ambassador) in branch 'master':
    bpo-33530: Implement Happy Eyeballs in asyncio, v2 (GH-7237)
    88f07a8

    @asvetlov asvetlov closed this as completed May 5, 2019
    @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-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants