summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Added 1995 to copyright message.Guido van Rossum1995-01-041-2/+2
| | | | | Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-6/+9
|
* Fixed a couple of bugs: getargs doesn't use % escapes, and secondsSjoerd Mullender1993-11-021-2/+2
| | | | must be set after timeout is initialized.
* * selectmodule.c (select_select): timeout argument may be None with sameGuido van Rossum1993-11-011-6/+12
| | | | meaning as no 4th argument
* * selectmodule.c: fix (another!) two memory leaks -- this time in list2setGuido van Rossum1993-05-121-0/+2
| | | | * tokenizer.[ch]: allow continuation without \ inside () [] {}.
* * Changed many files to use mkvalue() instead of newtupleobject().Guido van Rossum1993-03-161-2/+2
| | | | | | | | | | * Fixcprt.py: added [-y file] option, do only files younger than file. * modsupport.[ch]: added vmkvalue(). * intobject.c: use mkvalue(). * stringobject.c: added "formatstring"; renamed string* to string_*; ceval.c: call formatstring for string % value. * longobject.c: close memory leak in divmod. * parsetok.c: set result node to NULL when returning an error.
* * ceval.c: ifdef out the last argument passing compat hack.Guido van Rossum1993-02-051-2/+6
| | | | | * Fixed memory leaks in socket, select and sv modules: mkvalue("O", v) does INCREF(v) so if v is brand new it should be XDECREF'd
* Replaced max=-1 by max = -1.Guido van Rossum1992-08-061-1/+1
|
* * Makefile: cosmeticsGuido van Rossum1992-08-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
* * myselect.h: bzero -> memsetGuido van Rossum1992-08-041-12/+12
| | | | * select.c: bzero -> memset; removed global variable
* Use "myselect.h" as intended.Guido van Rossum1992-06-231-5/+1
|
* Changes for new UNIX-specific built-in module 'select' and new header forGuido van Rossum1992-06-231-0/+194
interfaces to variants of select() system call, "myselect.h". This includes adding fileno() methods to files, sockets and stdwin.