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

Prohibit previously deprecated operations on asyncio.trsock.TransportSocket #87398

Closed
illia-v mannequin opened this issue Feb 15, 2021 · 3 comments
Closed

Prohibit previously deprecated operations on asyncio.trsock.TransportSocket #87398

illia-v mannequin opened this issue Feb 15, 2021 · 3 comments
Labels
3.11 only security fixes topic-asyncio

Comments

@illia-v
Copy link
Mannequin

illia-v mannequin commented Feb 15, 2021

BPO 43232
Nosy @asvetlov, @serhiy-storchaka, @1st1, @illia-v, @jnsnow
PRs
  • bpo-43232: Prohibit previously deprecated operations on TransportSocket #24538
  • 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 2021-06-30.06:19:34.301>
    created_at = <Date 2021-02-15.19:16:49.239>
    labels = ['3.11', 'expert-asyncio']
    title = 'Prohibit previously deprecated operations on asyncio.trsock.TransportSocket'
    updated_at = <Date 2021-09-17.18:40:11.762>
    user = 'https://github.com/illia-v'

    bugs.python.org fields:

    activity = <Date 2021-09-17.18:40:11.762>
    actor = 'jnsnow'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-06-30.06:19:34.301>
    closer = 'serhiy.storchaka'
    components = ['asyncio']
    creation = <Date 2021-02-15.19:16:49.239>
    creator = 'illia-v'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43232
    keywords = ['patch']
    message_count = 3.0
    messages = ['387044', '396768', '402072']
    nosy_count = 5.0
    nosy_names = ['asvetlov', 'serhiy.storchaka', 'yselivanov', 'illia-v', 'jnsnow']
    pr_nums = ['24538']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue43232'
    versions = ['Python 3.11']

    @illia-v
    Copy link
    Mannequin Author

    illia-v mannequin commented Feb 15, 2021

    def _na(self, what):
    warnings.warn(
    f"Using {what} on sockets returned from get_extra_info('socket') "
    f"will be prohibited in asyncio 3.9. Please report your use case "
    f"to bugs.python.org.",
    DeprecationWarning, source=self)

    Using of the operations was supposed to be prohibited in Python 3.9, but that was missed.

    @illia-v illia-v mannequin added 3.10 only security fixes topic-asyncio labels Feb 15, 2021
    @serhiy-storchaka serhiy-storchaka added 3.11 only security fixes and removed 3.10 only security fixes labels Jun 28, 2021
    @serhiy-storchaka
    Copy link
    Member

    New changeset 1d08d85 by Illia Volochii in branch 'main':
    bpo-43232: Remove previously deprecated methods on TransportSocket (GH-24538)
    1d08d85

    @jnsnow
    Copy link
    Mannequin

    jnsnow mannequin commented Sep 17, 2021

    Without sendmsg(), is there any other way to send SCM_RIGHTS ancillary messages over an asyncio-managed UNIX socket?

    (Is there a better place to discuss this? Kindly point me in the right direction if so.)

    @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