Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This fix (across 4 files in 3 directories) solves a subtle problem with | Guido van Rossum | 1997-11-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | signal handlers in a fork()ed child process when Python is compiled with thread support. The bug was reported by Scott <scott@chronis.icgroup.com>. What happens is that after a fork(), the variables used by the signal module to determine whether this is the main thread or not are bogus, and it decides that no thread is the main thread, so no signals will be delivered. The solution is the addition of PyOS_AfterFork(), which fixes the signal module's variables. A dummy version of the function is present in the intrcheck.c source file which is linked when the signal module is not used. | ||||
* | Apply two changes, systematically: | Guido van Rossum | 1997-10-01 | 1 | -52/+16 |
| | | | | | | | | | | | | | | | | | (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! | ||||
* | Add strerror() interface. | Guido van Rossum | 1997-09-15 | 1 | -2/+30 |
| | |||||
* | Added /**/ around #end tags | Guido van Rossum | 1997-08-21 | 1 | -1/+1 |
| | |||||
* | Added a bunch of XXX comments about things I'd like to see changed... | Guido van Rossum | 1997-08-14 | 1 | -1/+8 |
| | |||||
* | Added O_BINARY and O_TEXT (for Windows). | Guido van Rossum | 1997-08-08 | 1 | -0/+6 |
| | |||||
* | Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES | Roger E. Masse | 1997-06-05 | 1 | -3/+3 |
| | | | | so that MSVC 4.2 doesn't complain under NT. | ||||
* | Added doc strings (Neil Schemenauer). | Guido van Rossum | 1997-06-02 | 1 | -59/+364 |
| | |||||
* | Enable putenv and waitpid (== wait4) for NeXT. | Guido van Rossum | 1997-05-22 | 1 | -0/+87 |
| | |||||
* | Change the exception objects to have the string value "os.error" | Guido van Rossum | 1997-04-29 | 1 | -2/+2 |
| | | | | instead "posix.error" or "nt.error". | ||||
* | posix_execve(): Accept any mapping protocol object for the env | Barry Warsaw | 1997-01-29 | 1 | -7/+18 |
| | | | | argument, not hardwired to a dictionary. | ||||
* | 1. Export open(2) flag constants for every defined constant | Barry Warsaw | 1996-12-19 | 1 | -16/+88 |
| | | | | 2. Reworked error checking in initposix() and initnt(). | ||||
* | Minor formatting changes. | Barry Warsaw | 1996-12-19 | 1 | -31/+33 |
| | |||||
* | Renamed. | Barry Warsaw | 1996-12-10 | 1 | -504/+503 |
| | | | | | Note that there is no test suite for this module, and I don't plan to write one just now. | ||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -3/+6 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Use #ifdef MS_WIN32 instead of _MSC_VER > 850. | Guido van Rossum | 1996-09-07 | 1 | -1/+1 |
| | |||||
* | Added simple-minded (i.e. leaking :-) putenv() interface, if os has it. | Guido van Rossum | 1996-07-23 | 1 | -0/+27 |
| | |||||
* | Added plock() system call. | Guido van Rossum | 1996-06-28 | 1 | -1/+25 |
| | | | | Changed test for Windows times() emulation. | ||||
* | changed windows test symbols; removed debug printf from sockets | Guido van Rossum | 1996-06-26 | 1 | -16/+17 |
| | |||||
* | Clear waitpid() status arg in case there's no process to report with | Guido van Rossum | 1996-06-19 | 1 | -1/+1 |
| | | | | WNOHANG set. | ||||
* | Avoid core dump in resizestring() on read() with 0 bytes. | Guido van Rossum | 1996-06-11 | 1 | -4/+5 |
| | |||||
* | Changed NT -> MSC or WATCOM | Guido van Rossum | 1996-05-28 | 1 | -1/+1 |
| | |||||
* | Added mkfifo, ftruncate. Windows/PC changes. | Guido van Rossum | 1996-05-23 | 1 | -31/+214 |
| | |||||
* | Made 2nd arg to mkdir optional | Guido van Rossum | 1996-02-25 | 1 | -2/+13 |
| | |||||
* | add remove==unlink; mark strftime as varargs | Guido van Rossum | 1996-02-13 | 1 | -0/+1 |
| | |||||
* | added 5th return item, clock time, to posix.times() | Guido van Rossum | 1995-09-13 | 1 | -3/+5 |
| | |||||
* | suppress . and .. in listdir return value | Guido van Rossum | 1995-07-18 | 1 | -0/+9 |
| | |||||
* | sys/wait.h; NeXT changes (no unistd, utime; getcwd?) | Guido van Rossum | 1995-06-14 | 1 | -0/+20 |
| | |||||
* | add WNOHANG | Guido van Rossum | 1995-03-30 | 1 | -0/+8 |
| | |||||
* | some more changes for NT and Borland | Guido van Rossum | 1995-03-10 | 1 | -3/+5 |
| | |||||
* | changes for NT/Borland C | Guido van Rossum | 1995-03-01 | 1 | -21/+65 |
| | |||||
* | fix comment opener after #endif | Guido van Rossum | 1995-02-17 | 1 | -1/+1 |
| | |||||
* | correct typo in utime stub | Guido van Rossum | 1995-02-07 | 1 | -1/+1 |
| | |||||
* | uname 64-bit fix | Guido van Rossum | 1995-01-26 | 1 | -1/+4 |
| | |||||
* | added bufsize parameter to fdopen and popen | Guido van Rossum | 1995-01-10 | 1 | -10/+19 |
| | |||||
* | 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 | -13/+12 |
| | | | | | Note addition of gethostbyaddr() and improved repr() for sockets, renaming of md5.md5() to md5.new(), and fixing of leaks in threads. | ||||
* | distinguish between getpgrp and setpgrp arg requirements | Guido van Rossum | 1994-10-20 | 1 | -3/+3 |
| | |||||
* | * Modules/xxmodule.c: integrated with xxobject.c by Jack | Guido van Rossum | 1994-09-29 | 1 | -0/+25 |
| | | | | * Modules/(posix,socket}module.c: more NT changes | ||||
* | Move #endif for NT | Guido van Rossum | 1994-08-29 | 1 | -1/+1 |
| | |||||
* | * Modules/posixmodule.c: some more NT changes | Guido van Rossum | 1994-08-23 | 1 | -3/+20 |
| | |||||
* | Changes to make it work and compile on NT, by Mark Hammond. | Guido van Rossum | 1994-08-18 | 1 | -74/+60 |
| | | | | (NT changes for posixmodule.c re-invented by Guido.) | ||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -133/+291 |
| | |||||
* | * Grammar: corrected old typo (class instead of 'class') | Guido van Rossum | 1993-12-20 | 1 | -158/+0 |
| | | | | | | | * dosmodule.c: MSDOS specific stuff from posixmodule.c. * posixmodule.c: removed all MSDOS specific stuff. * tokenizer.h, parsetok.h: in prototypes, don't mix named and unnamed parameters (MSC doesn't like this). | ||||
* | * timemodule.c: Add hack for Solaris 2. | Guido van Rossum | 1993-11-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * 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. | ||||
* | * posixmodule.c: added set{uid,gid}. | Guido van Rossum | 1993-11-10 | 1 | -0/+30 |
| | | | | | | * {tuple,list,mapping,array}object.c: call printobject with 0 for flags * compile.c (parsestr): use quote instead of '\'' at one crucial point * arraymodule.c (array_getattr): Added __members__ attribute | ||||
* | Added execve; change getstrarg into getargs with "s" format | Guido van Rossum | 1993-11-05 | 1 | -10/+99 |
| | |||||
* | Hacks for NEXTSTEP. | Guido van Rossum | 1993-11-01 | 1 | -0/+5 |
| | |||||
* | Work around a bug in the DEC alpha OSF/1 C preprocessor. | Guido van Rossum | 1993-10-26 | 1 | -0/+3 |
| |