Socketmodule at the moment has multiple problems after the changes to handle IPv6: 1: socketmodule.c now #includes getnameinfo.c and getaddrinfo.c. These functions both use offsetof(), which is defined (on my system, at least) in stddef.h. The #include for this file is inside a #if 0 block. 2: #including this file allow the compile to complete without error. However, there is no Makefile dependency on these two files, once socketmodule.o has been built. Changes to either of the get{name,addr}info.c files will not cause socketmodule to be rebuilt. 3: The socket module still does not work, however, since it refers to an unresolved symbol inet_pton >>> import socket Traceback (most recent call last): File "<stdin>", line 1, in ? File "/home/gonzo1/mark/groucho1/mark/src/python/CVS/python/dist/src/Lib/socket.py", line 41, in ? from _socket import * ImportError: Unresolved symbol in /home/gonzo1/mark/groucho1/mark/src/python/CVS/python/dist/src/build/lib.osf1-V4.0-alpha-2.2/_socket.so: inet_pton inet_pton is called in two places in getaddrinfo.c... there's likely to be other platforms besides Tru64 Unix that do not have this function. -- Mark Favas - m.favas@per.dem.csiro.au CSIRO, Private Bag No 5, Wembley, Western Australia 6913, AUSTRALIA
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4