Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implemented getdefaultlocale() for macintosh, after an idea by Fredrik. | Jack Jansen | 2000-07-15 | 1 | -2/+10 |
| | |||||
* | Move (actually copy) support for the sgi._getpty() function into | Thomas Wouters | 2000-07-14 | 1 | -5/+24 |
| | | | | | | | posix.openpty(). And conveniently also check if CVS write access really works. Closes SF patch #100722 | ||||
* | Use PyObject_AsFileDescriptor | Andrew M. Kuchling | 2000-07-13 | 2 | -68/+4 |
| | |||||
* | ANSI-fication (got lost in the deep seas of source forge <wink>) | Peter Schneider-Kamp | 2000-07-13 | 1 | -195/+60 |
| | |||||
* | From Sam Rushing's Medusa, via SF patch #100858: add & document | Andrew M. Kuchling | 2000-07-13 | 1 | -0/+88 |
| | | | | os.seteuid(), os.setegid(), os.setreuid(), os.setregid(). | ||||
* | replace PyXXX_Length calls with PyXXX_Size calls | Jeremy Hylton | 2000-07-12 | 8 | -15/+15 |
| | |||||
* | Add "exceptions" to list of built-in modules for the sake of | Guido van Rossum | 2000-07-12 | 1 | -0/+1 |
| | | | | sys.builtin_module_names. (Noticed by Toby Dickenson.) | ||||
* | Fixed up some ANSIfications. | Sjoerd Mullender | 2000-07-12 | 2 | -5/+5 |
| | |||||
* | debug_instance(): Use the same %p format directive as with | Barry Warsaw | 2000-07-12 | 1 | -6/+3 |
| | | | | | | debug_cycle(), and don't cast the pointer to a long. Neither needs the literal `0x' prefix as %p automatically inserts this (on Linux at least). | ||||
* | Convert coding style to be internally consistent and similar to the | Fred Drake | 2000-07-12 | 1 | -545/+531 |
| | | | | | rest of the Python C code: space between "if", "for" and "(", no space between "(", ")" and function call parameters, etc. | ||||
* | Always use the :funcname part of the format specifier for PyArg_ParseTuple() | Fred Drake | 2000-07-12 | 1 | -5/+5 |
| | | | | so we get better error messages. | ||||
* | Fix bugs in readinst(): | Andrew M. Kuchling | 2000-07-12 | 1 | -10/+25 |
| | | | | | | | | * There was no error reported if the .read() method returns a non-string * If read() returned too much data, the buffer would be overflowed causing a core dump * Used strncpy, not memcpy, which seems incorrect if there are embedded \0s. * The args and bytes objects were leaked | ||||
* | Patch #100854 from jhylton: eliminate compiler warnings in pyexpat: | Andrew M. Kuchling | 2000-07-12 | 1 | -21/+22 |
| | | | | | | | | The first two warnings seem harmless enough, but the last one looks like a potential bug: an uninitialized int is returned on error. (I also ended up reformatting some of the code, because it was hard to read.) | ||||
* | Fix mixed mallocs: re->re_patbuf.buffer is allocated with std malloc(). | Vladimir Marangozov | 2000-07-12 | 1 | -1/+1 |
| | |||||
* | Errare humanum est. | Peter Schneider-Kamp | 2000-07-11 | 1 | -1/+1 |
| | | | | Changed parameter in getsockaddrlen from unsigned to socklen_t. | ||||
* | One more include of limits.h (possibly to be moved elsewhere when there is | Jack Jansen | 2000-07-11 | 1 | -0/+3 |
| | | | | consensus where it should go). | ||||
* | satisfy the -Wall: remove two unused local variables and unused ins function | Jeremy Hylton | 2000-07-11 | 1 | -13/+0 |
| | |||||
* | fixed a warning in getsockaddrlen | Peter Schneider-Kamp | 2000-07-11 | 1 | -1/+1 |
| | |||||
* | Neil Schemenauer <nascheme@enme.ucalgary.ca>: | Fred Drake | 2000-07-11 | 1 | -4/+4 |
| | | | | | | | Change a cast, intialize a local, and make some sprintf() format strings type-appropriate (add the "l" to "%d"). Closes SourceForge patch #100737. | ||||
* | Now that prototypes are in scope, the compiler gives legit wngs | Tim Peters | 2000-07-10 | 1 | -2/+2 |
| | | | | | | about int size mismatches at two calls to s_rand. Stuffed in casts to make the code do what it did before but w/o warnings -- although unclear that's correct! | ||||
* | ANSI-fication (fixed on parameter list I messed up in the patch) | Peter Schneider-Kamp | 2000-07-10 | 1 | -53/+19 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -105/+35 |
| | |||||
* | ANSI-fication, added #ifdef construction in mpz_coerce | Peter Schneider-Kamp | 2000-07-10 | 1 | -138/+54 |
| | |||||
* | ANSI-fication, not really tested, but should (hopefully) compile | Peter Schneider-Kamp | 2000-07-10 | 2 | -116/+34 |
| | |||||
* | ANSI-fication of the SGI modules (note that svmodule.c and sgimodule.c | Peter Schneider-Kamp | 2000-07-10 | 7 | -2295/+769 |
| | | | | | | have already been checked in) UNTESTED! | ||||
* | - stupid typo. | Fredrik Lundh | 2000-07-10 | 1 | -1/+1 |
| | |||||
* | -- get rid of a compiler warning on unix. (as reported | Fredrik Lundh | 2000-07-10 | 1 | -21/+13 |
| | | | | for #100836, but implemented in a different way) | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -73/+26 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -177/+60 |
| | |||||
* | ANSI-fying | Peter Schneider-Kamp | 2000-07-10 | 4 | -157/+55 |
| | | | | | added excplicit node * parameter to termvalid argument in validate_two_chain_ops of parsermodule.c (as proposed by fred) | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 4 | -213/+70 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -75/+25 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 2 | -32/+11 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 3 | -63/+22 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -53/+19 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -31/+11 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 4 | -124/+43 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -48/+16 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -84/+24 |
| | |||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -38/+19 |
| | |||||
* | ANSI-fication (and test if committing files works now) | Peter Schneider-Kamp | 2000-07-10 | 1 | -2/+1 |
| | |||||
* | Initialize the return value in collect_generations() since it is updated | Vladimir Marangozov | 2000-07-10 | 1 | -1/+1 |
| | | | | conditionally in the code. | ||||
* | Guido said include these in the Great ANSI-fication, so here they are! | Fred Drake | 2000-07-10 | 2 | -259/+216 |
| | |||||
* | - changed the nt.popen2 return values back to | Fredrik Lundh | 2000-07-09 | 1 | -30/+30 |
| | | | | | | | | (write, read, ...), based on feedback from GvR. - added tuple-swapping code to popen2.py - fixed some runaway indentation in posixmodule.c | ||||
* | - changed 1.5 to 2.0 in the help text | Fredrik Lundh | 2000-07-09 | 1 | -7/+3 |
| | | | | | | | (the PYTHONHOMEHELP define) - ANSI-fication (patch #100794 by Peter Schneider-Kamp) | ||||
* | - ANSI-fication | Fredrik Lundh | 2000-07-09 | 1 | -3/+1 |
| | | | | (patch #100805 by Peter Schneider-Kamp) | ||||
* | - added popen.popen2/popen3/popen4 support for | Fredrik Lundh | 2000-07-09 | 1 | -7/+7 |
| | | | | | | | | | | | | windows. - added optional mode argument to popen2/popen3 for unix; if the second argument is an integer, it's assumed to be the buffer size. - changed nt.popen2/popen3/popen4 return values to match the popen2 module (stdout first, not stdin). | ||||
* | - added optional bufsize argument to new popen methods. | Fredrik Lundh | 2000-07-09 | 1 | -7/+30 |
| | | | | | for the moment, this argument must be left out or set to -1 (only the default bufsize is supported, that is) | ||||
* | - ANSI-fication | Fredrik Lundh | 2000-07-09 | 1 | -5/+1 |
| | | | | (patch #100784 by Peter Schneider-Kamp) | ||||
* | - ANSI-ification | Fredrik Lundh | 2000-07-09 | 1 | -94/+47 |
| | | | | (patch #100770 by Peter Schneider-Kamp) |