summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Implemented getdefaultlocale() for macintosh, after an idea by Fredrik.Jack Jansen2000-07-151-2/+10
|
* Move (actually copy) support for the sgi._getpty() function intoThomas Wouters2000-07-141-5/+24
| | | | | | | posix.openpty(). And conveniently also check if CVS write access really works. Closes SF patch #100722
* Use PyObject_AsFileDescriptorAndrew M. Kuchling2000-07-132-68/+4
|
* ANSI-fication (got lost in the deep seas of source forge <wink>)Peter Schneider-Kamp2000-07-131-195/+60
|
* From Sam Rushing's Medusa, via SF patch #100858: add & documentAndrew M. Kuchling2000-07-131-0/+88
| | | | os.seteuid(), os.setegid(), os.setreuid(), os.setregid().
* replace PyXXX_Length calls with PyXXX_Size callsJeremy Hylton2000-07-128-15/+15
|
* Add "exceptions" to list of built-in modules for the sake ofGuido van Rossum2000-07-121-0/+1
| | | | sys.builtin_module_names. (Noticed by Toby Dickenson.)
* Fixed up some ANSIfications.Sjoerd Mullender2000-07-122-5/+5
|
* debug_instance(): Use the same %p format directive as withBarry Warsaw2000-07-121-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 theFred Drake2000-07-121-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 Drake2000-07-121-5/+5
| | | | so we get better error messages.
* Fix bugs in readinst():Andrew M. Kuchling2000-07-121-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. Kuchling2000-07-121-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 Marangozov2000-07-121-1/+1
|
* Errare humanum est.Peter Schneider-Kamp2000-07-111-1/+1
| | | | Changed parameter in getsockaddrlen from unsigned to socklen_t.
* One more include of limits.h (possibly to be moved elsewhere when there isJack Jansen2000-07-111-0/+3
| | | | consensus where it should go).
* satisfy the -Wall: remove two unused local variables and unused ins functionJeremy Hylton2000-07-111-13/+0
|
* fixed a warning in getsockaddrlenPeter Schneider-Kamp2000-07-111-1/+1
|
* Neil Schemenauer <nascheme@enme.ucalgary.ca>:Fred Drake2000-07-111-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 wngsTim Peters2000-07-101-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-Kamp2000-07-101-53/+19
|
* ANSI-ficationPeter Schneider-Kamp2000-07-103-105/+35
|
* ANSI-fication, added #ifdef construction in mpz_coercePeter Schneider-Kamp2000-07-101-138/+54
|
* ANSI-fication, not really tested, but should (hopefully) compilePeter Schneider-Kamp2000-07-102-116/+34
|
* ANSI-fication of the SGI modules (note that svmodule.c and sgimodule.cPeter Schneider-Kamp2000-07-107-2295/+769
| | | | | | have already been checked in) UNTESTED!
* - stupid typo.Fredrik Lundh2000-07-101-1/+1
|
* -- get rid of a compiler warning on unix. (as reportedFredrik Lundh2000-07-101-21/+13
| | | | for #100836, but implemented in a different way)
* ANSI-ficationPeter Schneider-Kamp2000-07-103-73/+26
|
* ANSI-ficationPeter Schneider-Kamp2000-07-103-177/+60
|
* ANSI-fyingPeter Schneider-Kamp2000-07-104-157/+55
| | | | | added excplicit node * parameter to termvalid argument in validate_two_chain_ops of parsermodule.c (as proposed by fred)
* ANSI-ficationPeter Schneider-Kamp2000-07-104-213/+70
|
* ANSI-ficationPeter Schneider-Kamp2000-07-103-75/+25
|
* ANSI-ficationPeter Schneider-Kamp2000-07-102-32/+11
|
* ANSI-ficationPeter Schneider-Kamp2000-07-103-63/+22
|
* ANSI-ficationPeter Schneider-Kamp2000-07-101-53/+19
|
* ANSI-ficationPeter Schneider-Kamp2000-07-101-31/+11
|
* ANSI-ficationPeter Schneider-Kamp2000-07-104-124/+43
|
* ANSI-ficationPeter Schneider-Kamp2000-07-101-48/+16
|
* ANSI-ficationPeter Schneider-Kamp2000-07-101-84/+24
|
* ANSI-ficationPeter Schneider-Kamp2000-07-101-38/+19
|
* ANSI-fication (and test if committing files works now)Peter Schneider-Kamp2000-07-101-2/+1
|
* Initialize the return value in collect_generations() since it is updatedVladimir Marangozov2000-07-101-1/+1
| | | | conditionally in the code.
* Guido said include these in the Great ANSI-fication, so here they are!Fred Drake2000-07-102-259/+216
|
* - changed the nt.popen2 return values back toFredrik Lundh2000-07-091-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 textFredrik Lundh2000-07-091-7/+3
| | | | | | | (the PYTHONHOMEHELP define) - ANSI-fication (patch #100794 by Peter Schneider-Kamp)
* - ANSI-ficationFredrik Lundh2000-07-091-3/+1
| | | | (patch #100805 by Peter Schneider-Kamp)
* - added popen.popen2/popen3/popen4 support forFredrik Lundh2000-07-091-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 Lundh2000-07-091-7/+30
| | | | | for the moment, this argument must be left out or set to -1 (only the default bufsize is supported, that is)
* - ANSI-ficationFredrik Lundh2000-07-091-5/+1
| | | | (patch #100784 by Peter Schneider-Kamp)
* - ANSI-ificationFredrik Lundh2000-07-091-94/+47
| | | | (patch #100770 by Peter Schneider-Kamp)