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

Example in socket documentation uses deprecated array.fromstring #83078

Closed
dcoles mannequin opened this issue Nov 22, 2019 · 2 comments
Closed

Example in socket documentation uses deprecated array.fromstring #83078

dcoles mannequin opened this issue Nov 22, 2019 · 2 comments
Labels
3.9 only security fixes docs Documentation in the Doc dir stdlib Python modules in the Lib dir

Comments

@dcoles
Copy link
Mannequin

dcoles mannequin commented Nov 22, 2019

BPO 38897
Nosy @merwok, @dcoles, @dstufft, @corona10, @tirkarthi
PRs
  • bpo-38897: Remove use of deprecated array.fromstring method #17332
  • [3.7] bpo-38897: Remove use of deprecated array.fromstring method (GH-17332) #17386
  • [3.8] bpo-38897: Remove use of deprecated array.fromstring method (GH-17332) #17387
  • 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-11-26.08:41:21.165>
    created_at = <Date 2019-11-22.18:59:15.965>
    labels = ['library', '3.9', 'docs']
    title = 'Example in socket documentation uses deprecated array.fromstring'
    updated_at = <Date 2019-11-26.08:41:21.151>
    user = 'https://github.com/dcoles'

    bugs.python.org fields:

    activity = <Date 2019-11-26.08:41:21.151>
    actor = 'xtreak'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2019-11-26.08:41:21.165>
    closer = 'xtreak'
    components = ['Distutils', 'Documentation']
    creation = <Date 2019-11-22.18:59:15.965>
    creator = 'dcoles'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38897
    keywords = ['patch']
    message_count = 2.0
    messages = ['357314', '357489']
    nosy_count = 6.0
    nosy_names = ['eric.araujo', 'docs@python', 'dcoles', 'dstufft', 'corona10', 'xtreak']
    pr_nums = ['17332', '17386', '17387']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue38897'
    versions = ['Python 3.9']

    @dcoles
    Copy link
    Mannequin Author

    dcoles mannequin commented Nov 22, 2019

    See the recv_fds example for socket.recvmsg.

    This code produces a DeprecationWarning on current versions of Python.

    https://docs.python.org/3.9/library/socket.html#socket.socket.recvmsg

    @dcoles dcoles mannequin added the 3.9 only security fixes label Nov 22, 2019
    @dcoles dcoles mannequin assigned docspython Nov 22, 2019
    @dcoles dcoles mannequin added stdlib Python modules in the Lib dir docs Documentation in the Doc dir labels Nov 22, 2019
    @tirkarthi
    Copy link
    Member

    Thanks David for the report and patch.

    @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.9 only security fixes docs Documentation in the Doc dir stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant