Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make use of METH_O and METH_NOARGS where possible. | Georg Brandl | 2006-05-29 | 1 | -5/+2 |
| | | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible. | ||||
* | Initialize structseq types only once. | Martin v. Löwis | 2006-04-16 | 1 | -1/+6 |
| | |||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | Patch #1005568: Use _SC_PAGESIZE on Irix. | Martin v. Löwis | 2004-08-12 | 1 | -0/+5 |
| | | | | Backported to 2.3. | ||||
* | Get build working with pre-C99 compilers | Neal Norwitz | 2003-03-30 | 1 | -1/+1 |
| | |||||
* | Patch #650412: Check whether the address of flock and getpagesize | Martin v. Löwis | 2003-03-30 | 1 | -1/+13 |
| | | | | can be taken, and use _SC_PAGE_SIZE if getpagesize is not available. | ||||
* | Rename LONG_LONG to PY_LONG_LONG. Fixes #710285. | Martin v. Löwis | 2003-03-29 | 1 | -3/+3 |
| | |||||
* | Fix SF #632624, test_resource failure on alpha/64bit | Neal Norwitz | 2002-11-02 | 1 | -1/+1 |
| | | | | | Return PyLongs instead ot PyInts. On alphas, 9223372036854775807 became -1. | ||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | Patch #568124: Add doc string macros. | Martin v. Löwis | 2002-06-13 | 1 | -6/+6 |
| | |||||
* | Check for overflow errors in setrlimit(), | Jeremy Hylton | 2002-04-23 | 1 | -1/+10 |
| | | | | and reflow a long line. | ||||
* | Patch #512005: getrusage() returns struct-like object. | Martin v. Löwis | 2002-04-08 | 1 | -23/+70 |
| | |||||
* | Expose RLIM_INFINITY constant. Closes SF patch 489066. | Neil Schemenauer | 2002-03-24 | 1 | -1/+13 |
| | |||||
* | Use PyModule_AddIntConstant() instead of creating a private helper function. | Fred Drake | 2002-02-14 | 1 | -30/+22 |
| | | | | This also avoids directly accessing the module'd __dict__. | ||||
* | Patch #477750: Use METH_ constants in Modules. | Martin v. Löwis | 2002-01-17 | 1 | -4/+4 |
| | |||||
* | Include <unistd.h> in Python.h. Fixes #500924. | Martin v. Löwis | 2002-01-12 | 1 | -1/+0 |
| | |||||
* | [Patch #462255, from Jason Tishler] Re-enables building the resouce | Andrew M. Kuchling | 2001-09-17 | 1 | -1/+2 |
| | | | | module on the Cygwin platform. | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | merge Include/my*.h into Include/pyport.h | Peter Schneider-Kamp | 2000-07-31 | 1 | -1/+0 |
| | | | | marked my*.h as obsolete | ||||
* | Create a new section of pyport.h to hold all external function declarations | Thomas Wouters | 2000-07-24 | 1 | -4/+0 |
| | | | | | | | | | | | | | | for systems that are missing those declarations from system include files. Start by moving a pointy-haired ones from their previous locations to the new section. (The gethostname() one, for instance, breaks on several systems, because some define it as (char *, size_t) and some as (char *, int).) I purposely decided not to include the summary of used #defines like Tim did in the first section of pyport.h. In my opinion, the number of #defines likedly to be used by this section would make such an overview unwieldy. I would suggest documenting the non-obvious ones, though. | ||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;) | ||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 1 | -2/+2 |
| | | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;) | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -12/+4 |
| | |||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Massive patch by Skip Montanaro to add ":name" to as many | Guido van Rossum | 2000-02-29 | 1 | -4/+4 |
| | | | | PyArg_ParseTuple() format string arguments as possible. | ||||
* | Changes for long file support by Steve Clift. | Guido van Rossum | 1999-01-06 | 1 | -3/+22 |
| | |||||
* | Typo: RUSAGE_CHILDERN -> RUSAGE_CHILDREN. | Guido van Rossum | 1997-12-09 | 1 | -1/+1 |
| | |||||
* | Add #include "mytime.h", needed for SunOS 4.1 (Matthias Klose). | Guido van Rossum | 1997-10-31 | 1 | -0/+1 |
| | |||||
* | Apply two changes, systematically: | Guido van Rossum | 1997-10-01 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | (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! | ||||
* | Different strategy regarding whether to declare getrusage() and | Guido van Rossum | 1997-08-17 | 1 | -11/+9 |
| | | | | | | getpagesize() -- #ifdef doesn't work, Linux has conflicting decls in its headers. Choice: only declare the return type, not the argument prototype, and not on Linux. | ||||
* | Added std copyright notice. | Guido van Rossum | 1997-08-15 | 1 | -0/+31 |
| | |||||
* | purported linux portability patch (Oliver Andrich) | Guido van Rossum | 1997-08-05 | 1 | -0/+4 |
| | |||||
* | Quieted gcc -Wall by removing unused local variables. | Barry Warsaw | 1997-01-14 | 1 | -2/+0 |
| | |||||
* | Added Jeremy's resource module. | Guido van Rossum | 1996-12-18 | 1 | -0/+240 |