Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added copious docstrings, plus two minor layout tweaks. | Guido van Rossum | 1998-07-07 | 1 | -39/+309 |
| | |||||
* | Some systems (e.g. Linux) use enums for some symbols (like IPPROTO_IP) | Guido van Rossum | 1998-05-28 | 1 | -0/+11 |
| | | | | | | so that our #ifdef test has the wrong effect. Substitute hardcoded values for some important symbols (but not for the whole range -- some are pretty obscure so it's not worth it). | ||||
* | Threading speedup patches by Christopher Lindblad <cjl@infoseek.com>. | Guido van Rossum | 1998-04-09 | 1 | -2/+44 |
| | |||||
* | Left-aligned preprocessor directives and changed C++ comments to C | Guido van Rossum | 1997-12-02 | 1 | -9/+9 |
| | | | | comments. | ||||
* | os2 patch by Jeff Rush | Guido van Rossum | 1997-11-22 | 1 | -15/+116 |
| | |||||
* | PySocketSock_methods: Added "connect_ex" so the method can actually be | Barry Warsaw | 1997-11-20 | 1 | -0/+1 |
| | | | | called! | ||||
* | Add s.connect_ex() which returns errno instead of raising an exception. | Guido van Rossum | 1997-11-19 | 1 | -0/+20 |
| | |||||
* | Apply two changes, systematically: | Guido van Rossum | 1997-10-01 | 1 | -9/+8 |
| | | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code! | ||||
* | socket_type -> SocketType | Guido van Rossum | 1997-06-02 | 1 | -2/+2 |
| | |||||
* | Add socket.socket_type, as discussed on c.l.p. | Guido van Rossum | 1997-05-21 | 1 | -0/+5 |
| | |||||
* | Remove the last three uses of PyArg_GetInt() from the source. | Guido van Rossum | 1997-05-15 | 1 | -3/+3 |
| | |||||
* | In makesockaddr(), if we don't know the address family, don't raise an | Guido van Rossum | 1997-05-07 | 1 | -3/+6 |
| | | | | exception -- return it as a tuple. Seems useful in promiscuous mode. | ||||
* | Tweaks to keep the Microsoft compiler quier. | Guido van Rossum | 1997-04-09 | 1 | -1/+3 |
| | |||||
* | Check of return values and proper error handling. | Barry Warsaw | 1997-01-03 | 1 | -30/+60 |
| | |||||
* | Added the new getprotobyname() call to the module overview at the top. | Guido van Rossum | 1996-12-19 | 1 | -0/+1 |
| | |||||
* | Added getprotobyname() interface. | Guido van Rossum | 1996-12-19 | 1 | -0/+24 |
| | |||||
* | Added extern decl for gethostname() to keep gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -0/+4 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -0/+5 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Don't close an already closed socket. | Guido van Rossum | 1996-10-12 | 1 | -3/+5 |
| | |||||
* | Slightly different Windows ifdefs | Guido van Rossum | 1996-06-28 | 1 | -4/+4 |
| | |||||
* | changed windows test symbols; removed debug printf from sockets | Guido van Rossum | 1996-06-26 | 1 | -10/+9 |
| | |||||
* | More rational support for Windows (tested on Roj's NT 3.5 machine only). | Guido van Rossum | 1996-06-20 | 1 | -141/+117 |
| | | | | Use PyArg_ParseTuple() where it makes sense. | ||||
* | ntohs, ntohl, htons, htonl -- thanks to Lance | Guido van Rossum | 1996-06-12 | 1 | -0/+56 |
| | |||||
* | more changes for Windows, sigh | Guido van Rossum | 1996-06-12 | 1 | -29/+57 |
| | |||||
* | Calculate length of AF_UNIX addr struct portably in getsockaddrarg(). | Guido van Rossum | 1996-06-11 | 1 | -1/+1 |
| | |||||
* | Get rid of obsolete allowbroadcast(). | Guido van Rossum | 1996-06-11 | 1 | -23/+2 |
| | | | | Avoid core dumps in resizestring(). | ||||
* | Windows/PC changes | Guido van Rossum | 1996-05-23 | 1 | -7/+40 |
| | |||||
* | remove unused variables | Guido van Rossum | 1996-02-27 | 1 | -9/+2 |
| | |||||
* | Include GUSI.h if using gusi-sockets | Jack Jansen | 1996-02-14 | 1 | -0/+5 |
| | |||||
* | clear addr buffer before calling getsockname | Guido van Rossum | 1996-01-12 | 1 | -0/+1 |
| | |||||
* | plug some leaks | Guido van Rossum | 1995-09-13 | 1 | -2/+6 |
| | |||||
* | add setblocking(); NT changes; null-terminate Unix path | Guido van Rossum | 1995-06-14 | 1 | -12/+33 |
| | |||||
* | fixed up comments describing interface | Guido van Rossum | 1995-03-16 | 1 | -19/+18 |
| | |||||
* | mode and optional bufsize for makefile() | Guido van Rossum | 1995-03-14 | 1 | -6/+15 |
| | |||||
* | add INADDR_* symbols | Guido van Rossum | 1995-02-17 | 1 | -0/+37 |
| | |||||
* | add socket related constants | Guido van Rossum | 1995-02-07 | 1 | -0/+202 |
| | |||||
* | cosmetic changes so these modules will work with the strict new naming scheme | Guido van Rossum | 1995-01-10 | 1 | -5/+5 |
| | |||||
* | better test for existence of hstrerror() | Guido van Rossum | 1995-01-10 | 1 | -2/+2 |
| | |||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -2/+2 |
| | | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment. | ||||
* | Another bulky set of minor changes. | Guido van Rossum | 1995-01-02 | 1 | -23/+131 |
| | | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads. | ||||
* | new style | Guido van Rossum | 1994-10-10 | 1 | -280/+279 |
| | |||||
* | * Modules/xxmodule.c: integrated with xxobject.c by Jack | Guido van Rossum | 1994-09-29 | 1 | -0/+12 |
| | | | | * Modules/(posix,socket}module.c: more NT changes | ||||
* | Setup.in: added tkinter; rearranged the definition of PYTHONPATH so | Guido van Rossum | 1994-09-07 | 1 | -0/+33 |
| | | | | | | | | | | | | | | that the module-specific components are in the section for that module. cursesmodule.c: patched it so it actually works. tkintermodule.c: call Py_AtExit instead of atexit(). signalmodule.c: converted to new naming style; added BGN/END SAVE around pause() call. socketmodule.c: added setblocking() after Tommy Burnette. | ||||
* | Changes to make it work and compile on NT, by Mark Hammond. | Guido van Rossum | 1994-08-18 | 1 | -99/+125 |
| | | | | (NT changes for posixmodule.c re-invented by Guido.) | ||||
* | * Modules/{Setup.in,Makefile.pre.in}: renamed some modules to | Guido van Rossum | 1994-08-05 | 1 | -0/+4 |
| | | | | | | | | | | shorter names (dropped the "module" from the name): sunaudiodev, imgformat, audioop, imageop, imgfile * Modules/stropmodule.c (strop_rindex): make rindex('abc', '') do the right thing (i.e. return 3 instead of 0) * Modules/socketmodule.c: disabled allowbroadcast() socket method | ||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -67/+48 |
| | |||||
* | * timemodule.c: Add hack for Solaris 2. | Guido van Rossum | 1993-11-23 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | * posixmodule.c: don't prototype getcwd() -- it's not portable... * mappingobject.c: double-check validity of last_name_char in dict{lookup,insert,remove}. * arraymodule.c: need memmove only for non-STDC Suns. * Makefile: comment out HTML_LIBS and XT_USE by default * pythonmain.c: don't prototype getopt() -- it's not standardized * socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to recvfrom() to (ANY*). * pythonrun.c (initsigs): fix prototype, make it static * intobject.c (LONG_BIT): only #define it if not already defined * classobject.[ch]: remove all references to unused instance_convert() * mappingobject.c (getmappingsize): Don't return NULL in int function. | ||||
* | * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c. | Guido van Rossum | 1993-06-17 | 1 | -2/+2 |
| | | | | | | | | | | Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close(). | ||||
* | * socketmodule.c: fix long-standing bug in recvfrom() -- addrlen | Guido van Rossum | 1993-05-25 | 1 | -2/+5 |
| | | | | wasn't initialized. |