Issue 7171: Add inet_ntop and inet_pton support for Windows (original) (raw)

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Steven.Hayter, christian.heimes, ghazel, giampaolo.rodola, honglei.jiang, ishimoto, jaraco, kookwekker, pystranger, python-dev
Priority: normal Keywords: easy, patch

Created on 2009-10-19 23:20 by jaraco, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue7171.patch ishimoto,2012-07-16 06:25 review
Messages (8)
msg94261 - (view) Author: Jason R. Coombs (jaraco) * (Python committer) Date: 2009-10-19 23:20
According to the documentation, Microsoft now supports inet_ntop and inet_pton (http://msdn.microsoft.com/en-us/library/cc805843%28VS.85%29.aspx). This capability should be integrated into the socket module so it is supported cross-platform.
msg110982 - (view) Author: Greg Hazel (ghazel) Date: 2010-07-21 00:13
In addition, inet_ntop and inet_pton can be implemented on Windows platforms prior to Vista using WSAAddressToStringA and WSAStringToAddressA.
msg165572 - (view) Author: Atsuo Ishimoto (ishimoto) * Date: 2012-07-16 06:25
Implementation of inet_pton and inet_ntop by WSAAddressToStringA and WSAStringToAddressA for Windows. Conversion of IPv6 address might fail if IPv6 is not installed. Tested on Windows XP SP3 and Windows7.
msg171560 - (view) Author: (pystranger) Date: 2012-09-29 10:53
I can't do that but I think the stage of the bug should be changed to "patch review" instead of "needs patch".
msg171561 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2012-09-29 11:18
As it's a new feature it must go into 3.4.
msg202550 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-10 19:02
New changeset 17b160baa20f by Atsuo Ishimoto in branch 'default': Issue #7171: Add Windows implementation of ``inet_ntop`` and ``inet_pton`` to socket module. http://hg.python.org/cpython/rev/17b160baa20f New changeset a21f506d04c9 by Jason R. Coombs in branch 'default': Issue #7171: Update syntax to replace MAX in favor of Py_MAX (matching implementation for Unix). http://hg.python.org/cpython/rev/a21f506d04c9
msg202555 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-11-10 19:15
New changeset 31fe38f95c82 by Jason R. Coombs in branch 'default': Update Misc/NEWS for Issue #7171 http://hg.python.org/cpython/rev/31fe38f95c82
msg212920 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-03-08 02:38
New changeset f82145a516f0 by R David Murray in branch 'default': whatsnew: inet_pton/inet_ntop support windows (#7171). http://hg.python.org/cpython/rev/f82145a516f0
History
Date User Action Args
2022-04-11 14:56:54 admin set github: 51420
2014-03-08 02:38:24 python-dev set messages: +
2013-12-22 20:50:58 pitrou set status: open -> closedresolution: fixedstage: patch review -> resolved
2013-11-10 19:15:05 python-dev set messages: +
2013-11-10 19:02:50 python-dev set nosy: + python-devmessages: +
2012-09-29 11🔞30 christian.heimes set versions: + Python 3.4, - Python 3.3nosy: + christian.heimesmessages: + components: + Extension Modules, - Library (Lib)
2012-09-29 10:54:56 ezio.melotti set stage: needs patch -> patch review
2012-09-29 10:53:10 pystranger set nosy: + pystrangermessages: +
2012-07-16 06:25:06 ishimoto set files: + issue7171.patchnosy: + ishimotomessages: + keywords: + patch
2011-09-01 18:29:33 pitrou set keywords: + easycomponents: + Library (Lib), - Windows, IOversions: + Python 3.3, - Python 3.2
2011-08-30 08:46:48 honglei.jiang set nosy: + honglei.jiang
2010-07-21 00:13:24 ghazel set messages: +
2010-07-20 07:36:49 ghazel set nosy: + ghazel
2010-05-27 19:42:31 brian.curtin set nosy:jaraco, giampaolo.rodola, Steven.Hayter, kookwekkercomponents: + Windowsversions: - Python 2.7
2010-05-27 09:05:31 giampaolo.rodola set nosy: + giampaolo.rodola
2010-05-27 08:22:53 kookwekker set nosy: + kookwekker
2010-02-28 21:45:47 Steven.Hayter set nosy: + Steven.Hayter
2010-02-25 20:32:50 amaury.forgeotdarc set stage: needs patch
2009-10-19 23:20:24 jaraco create