summaryrefslogtreecommitdiffstats
path: root/Modules/getaddrinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* gh-108767: Replace ctype.h functions with pyctype.h functions (#108772)Victor Stinner2023-09-011-2/+2
| | | | | | | | | | | | | | Replace <ctype.h> locale dependent functions with Python "pyctype.h" locale independent functions: * Replace isalpha() with Py_ISALPHA(). * Replace isdigit() with Py_ISDIGIT(). * Replace isxdigit() with Py_ISXDIGIT(). * Replace tolower() with Py_TOLOWER(). Leave Modules/_sre/sre.c unchanged, it uses locale dependent functions on purpose. Include explicitly <ctype.h> in _decimal.c to get isascii().
* gh-74895: getaddrinfo no longer raises OverflowError (#2435)Radek Smejkal2023-02-141-1/+5
| | | `socket.getaddrinfo()` no longer raises `OverflowError` based on the **port** argument. Error reporting (or not) for its value is left up to the underlying C library `getaddrinfo()` implementation.
* gh-95174: WASI: skip missing sockets functions (GH-95179)Christian Heimes2022-07-271-0/+5
|
* bpo-32241: Add the const qualifire to declarations of umodifiable strings. ↵Serhiy Storchaka2017-12-121-1/+1
| | | | (#4748)
* Add the const qualifier to "char *" variables that refer to literal strings. ↵Serhiy Storchaka2017-11-111-1/+1
| | | | (#4370)
* Issue #26505: merge from 3.5Ned Deily2016-03-071-4/+4
|\
| * Issue #26505: Fix typos in getaddrinfo license text.Ned Deily2016-03-071-4/+4
| | | | | | | | Patch by Alex Willmer.
* | Issue #25923: Added more const qualifiers to signatures of static and ↵Serhiy Storchaka2015-12-251-1/+1
| | | | | | | | private functions.
* | Issue #25923: Added the const qualifier to static constant arrays.Serhiy Storchaka2015-12-251-1/+1
|/
* Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation ↵Antoine Pitrou2012-08-021-1/+1
| | | | | | code. Patch by Philipp Hagemeister.
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-442/+442
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners.Neal Norwitz2007-02-271-5/+5
|
* SF #784031: Byte-order bug in socket-module getaddrinfo.cRaymond Hettinger2003-08-171-0/+1
|
* Wipe out some warnings about non-ANSI code and an unsafe arg toGuido van Rossum2002-07-171-7/+4
| | | | isdigit().
* Remove INET6 define. Use ENABLE_IPV6 instead.Martin v. Löwis2001-12-021-16/+16
|
* Fix memory leaks detecting in bug report #478003.Martin v. Löwis2001-11-071-4/+6
|
* Fix compiler warnings. This closes some of the #458880 problem.Martin v. Löwis2001-09-071-9/+8
|
* Removed an unreachable break statement to silence SGI compiler.Sjoerd Mullender2001-08-301-1/+1
|
* Autocheck for snprintf, and use sprintf if it is not available.Martin v. Löwis2001-07-241-4/+0
| | | | | Remove declaration of h_errno, since it is supposedly declared in netdb.h. Changes proposed by itojun.
* Before declaring h_errno, do not check for Win32 only. Instead, do checkMartin v. Löwis2001-07-231-1/+1
| | | | whether h_errno is a macro.
* Set ai_addrlen even if there is no sa_len.Martin v. Löwis2001-07-211-0/+1
|
* Silence warnings in MSVC++: hide unused variables, add constness back toMartin v. Löwis2001-07-211-2/+7
| | | | inet_pton/ntop, convert htons argument to u_short.
* Port getaddrinfo to MSVC++.Martin v. Löwis2001-07-191-1/+13
|
* Patch #401196: Configuration machinery for IPv6.Martin v. Löwis2001-06-231-0/+625
Contributed by Jun-ichiro "itojun" Hagino. get{addr,name}info emulation code taken from WIDE.