summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* - improved os.popen support for windows, based on win32pipeFredrik Lundh2000-07-091-6/+462
| | | | | | | by Bill Tutt. note: to run this on Windows 95/98, you need to have the w9xpopen.exe helper in the same directory as the python DLL.
* Remove use of HAVE_OLD_CPP to support non-ANSI preprocessors.Fred Drake2000-07-091-4/+0
|
* Patch from Peter Schneider-Kamp: convert curses module to ANSI prototypes,Andrew M. Kuchling2000-07-091-377/+221
| | | | and substitute the conventional "args" instead of "arg".
* - added (long) casts to a couple of Py_BuildValue calls,Fredrik Lundh2000-07-091-7/+7
| | | | | | | | | | just for the sake of it. note that this only covers the unlikely case that size_t is smaller than a long; it's probably more likely that there are platforms out there where size_t is *larger* than a long, and mmapmodule cannot really deal with that today.
* - fixed pointer size test in spawn functions. also addedFredrik Lundh2000-07-091-6/+6
| | | | | | | cast to make sure Py_BuildValue gets the right thing. this change eliminates bogus return codes from successful spawn calls (e.g. 2167387144924954624 instead of 0).
* Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters2000-07-0914-64/+63
|
* this one's a bit risky, but I've spent some considerable timeFredrik Lundh2000-07-081-340/+132
| | | | | | | | | | staring at the diffs before checking this one in. let me know asap if it breaks things on your platform. -- ANSI-fying (patch #100763 by Peter Schneider-Kamp, minus the indentation changes and minus the changes the broke the windows build)
* -- ANSI-fying, namesFredrik Lundh2000-07-081-82/+61
| | | | | | | (patch #100762 by Peter Schneider-Kamp, minus the indentation changes) -- added INT_PTR workaround to make it build under VC 5.0
* - _getdefaultlocale shouldn't accept argumentsFredrik Lundh2000-07-081-8/+11
| | | | - some more spacification...
* - added _getdefaultlocale implementation for WIN32Fredrik Lundh2000-07-081-269/+351
| | | | - ansified, reindentified, spacified, nullified
* ANSI-fication of the sources, convert to 4-space indents.Fred Drake2000-07-081-70/+97
| | | | | Use PyArg_ParseTuple() to get better error messages. Add docstrings all around.
* ANSI-fied sources, converted to four-space indentation.Fred Drake2000-07-081-182/+151
| | | | | Converted to PyArg_ParseTuple() with method names to get better error messages.
* ANSI-fied sources, converted to four-space indentation.Fred Drake2000-07-081-372/+363
|
* Add method names to PyArg_ParseTuple() calls for better error messages.Fred Drake2000-07-081-313/+298
| | | | Convert to four-space indents.
* ANSI-fy the sources.Fred Drake2000-07-081-313/+287
| | | | | | Convert to using PyArg_ParseTuple() as appropriate to allow method names in error messages. Re-indent to four-space indentation.
* Pretensions of the 20th century... remove old-style preprocessorFred Drake2000-07-081-6/+0
| | | | hackery (/**/), leaving only new-style preprocessor hackery (##).
* ANSI-fy the sources.Fred Drake2000-07-081-19/+16
|
* Removed Py_PROTO, ANSI-fied sources.Fred Drake2000-07-081-187/+68
|
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-07-071-1/+1
| | | | Allow -f* parameters to be passed to the compiler from Setup files.
* Removed a prototype which is not used in socketmodule.cMarc-André Lemburg2000-07-071-1/+0
| | | | Patch by T. Wouters.
* Fix bug #392, reported by Jonathan Giddy <jon@dstc.edu.au>:Fred Drake2000-07-061-2/+4
| | | | | | | | | | | | In posixmodule.c:posix_fork, the function PyOS_AfterFork is called for both the parent and the child, despite the docs stating that it should be called in the new (child) process. This causes problems in the parent since the forking thread becomes the main thread according to the signal module. Calling PyOS_AfterFork() only in the child fixes this. Changed for both fork() and forkpty().
* Python 2.0 is not supposed to use string exceptions in the standard libraryFred Drake2000-07-063-3/+3
| | | | | & extensions, so create exceptions in extension modules using the PyErr_NewException() API.
* added read_history_file and write_history_fileSkip Montanaro2000-07-061-0/+50
| | | | XXX should perhaps support history truncation as well