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 slots to asyncio transports #82329

Closed
asvetlov opened this issue Sep 13, 2019 · 4 comments
Closed

Add slots to asyncio transports #82329

asvetlov opened this issue Sep 13, 2019 · 4 comments
Labels
3.8 only security fixes 3.9 only security fixes topic-asyncio

Comments

@asvetlov
Copy link
Contributor

BPO 38148
Nosy @asvetlov, @1st1
PRs
  • bpo-38148: Add slots to asyncio transports #16077
  • [3.8] bpo-38148: Add slots to asyncio transports (GH-16077) #16093
  • 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-09-13.13:15:15.670>
    created_at = <Date 2019-09-13.05:54:41.029>
    labels = ['3.8', '3.9', 'expert-asyncio']
    title = 'Add slots to asyncio transports'
    updated_at = <Date 2019-09-13.13:15:15.670>
    user = 'https://github.com/asvetlov'

    bugs.python.org fields:

    activity = <Date 2019-09-13.13:15:15.670>
    actor = 'asvetlov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-09-13.13:15:15.670>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2019-09-13.05:54:41.029>
    creator = 'asvetlov'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38148
    keywords = ['patch']
    message_count = 4.0
    messages = ['352239', '352240', '352307', '352318']
    nosy_count = 2.0
    nosy_names = ['asvetlov', 'yselivanov']
    pr_nums = ['16077', '16093']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue38148'
    versions = ['Python 3.8', 'Python 3.9']

    @asvetlov
    Copy link
    Contributor Author

    Transports are abstract interfaces.
    Adding slots allows using slots in transport implementations as well.
    If the implementation doesn't use slots -- everything keeps working.

    Slots can help with saving a memory footprint a little.

    @asvetlov asvetlov added 3.8 only security fixes 3.9 only security fixes topic-asyncio labels Sep 13, 2019
    @asvetlov
    Copy link
    Contributor Author

    Note, slots for protocols are provided by 3.8 already.

    @asvetlov
    Copy link
    Contributor Author

    New changeset 9eb35ab by Andrew Svetlov in branch 'master':
    bpo-38148: Add slots to asyncio transports (GH-16077)
    9eb35ab

    @asvetlov
    Copy link
    Contributor Author

    New changeset 6638c92 by Andrew Svetlov in branch '3.8':
    [3.8] bpo-38148: Add slots to asyncio transports (GH-16077) (GH-16093)
    6638c92

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

    No branches or pull requests

    1 participant