diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-12 03:34:28 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2019-09-12 11:34:28 +0100 |
commit | f60fd95dcc189ace8c0a2177a394b9cc20389a1e (patch) | |
tree | 68804c3e33cdcfabc9a20e2e6cbc224d66338a57 /Misc/NEWS.d/next | |
parent | 52baf90a74f3a4573f4266bb4ca8569534db42a9 (diff) | |
download | cpython-git-f60fd95dcc189ace8c0a2177a394b9cc20389a1e.tar.gz |
closes bpo-37405: Make socket.getsockname() always return a tuple for AF_CAN. (GH-14392) (GH-16018)
This fixes a regression from 3.5. In recent releases, `getsockname()` in the AF_CAN case has returned a string.
(cherry picked from commit 954900a3f98a8c0dea14dd575490237f3f8626b3)
Co-authored-by: bggardner <brent@ebrent.net>
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-09-11-20-27-41.bpo-37405.MG5xiY.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-11-20-27-41.bpo-37405.MG5xiY.rst b/Misc/NEWS.d/next/Library/2019-09-11-20-27-41.bpo-37405.MG5xiY.rst new file mode 100644 index 0000000000..09e1097342 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-09-11-20-27-41.bpo-37405.MG5xiY.rst @@ -0,0 +1,2 @@ +Fixed regression bug for socket.getsockname() for non-CAN_ISOTP AF_CAN +address family sockets by returning a 1-tuple instead of string. |