[issue38897] Example in socket documentation uses deprecated array.fromstring
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
New submission from David Coles <coles.david@gmail.com>: 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 ---------- assignee: docs@python components: Distutils, Documentation messages: 357314 nosy: corona10, dcoles, docs@python, dstufft, eric.araujo priority: normal pull_requests: 16840 severity: normal status: open title: Example in socket documentation uses deprecated array.fromstring versions: Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue38897> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- keywords: +patch pull_requests: +16868 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17386 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue38897> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Change by miss-islington <mariatta.wijaya+miss-islington@gmail.com>: ---------- pull_requests: +16869 pull_request: https://github.com/python/cpython/pull/17387 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue38897> _______________________________________
![](https://secure.gravatar.com/avatar/fa0f7819f1825f596b384c19aa7dcf33.jpg?s=120&d=mm&r=g)
Karthikeyan Singaravelan <tir.karthi@gmail.com> added the comment: Thanks David for the report and patch. ---------- nosy: +xtreak resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue38897> _______________________________________
participants (3)
-
David Coles
-
Karthikeyan Singaravelan
-
miss-islington