Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add wrappers around the rich-comparison operations. | Fred Drake | 2001-08-09 | 1 | -1/+22 |
| | | | | | | | This closes SF patch #428320. Add wrappers to expose "floor" and "true" division. This closes SF feature request #449093. | ||||
* | Add invert() and __invert__() as aliases for inv()/__inv__(). | Fred Drake | 2000-09-17 | 1 | -11/+16 |
| | | | | | | | | Add contains() as alias for __contains__(). Make PyArg_ParseTuple() formats include the function name. Based on patch by Denis S. Otkidach <ods@users.sourceforge.net>, this closes SourceForge patch #101390. | ||||
* | 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 ;) | ||||
* | Pretensions of the 20th century... remove old-style preprocessor | Fred Drake | 2000-07-08 | 1 | -6/+0 |
| | | | | hackery (/**/), leaving only new-style preprocessor hackery (##). | ||||
* | ANSI-fy the sources. | Fred Drake | 2000-07-08 | 1 | -19/+16 |
| | |||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | | | | on BeOS or Windows. | ||||
* | Add an alias (and preferred name) "contains" for "sequenceIncludes". | Guido van Rossum | 1998-05-22 | 1 | -47/+34 |
| | | | | | | | | Rationalized the doc strings. Also simplify the module initialization -- we don't need a __version__ which is set to "$Rev" :-) and we don't need a fatal error when the initialization fails. | ||||
* | PySequence_In() -> PySequence_Contains(). | Guido van Rossum | 1998-05-22 | 1 | -1/+1 |
| | |||||
* | Add not_ and __not__. | Guido van Rossum | 1998-04-09 | 1 | -0/+2 |
| | |||||
* | #Plug small memory leaks in constructors. | Guido van Rossum | 1997-09-03 | 1 | -2/+3 |
| | |||||
* | Some long variables should have been int to match the 'i' format specifier. | Guido van Rossum | 1997-08-28 | 1 | -3/+3 |
| | |||||
* | Tabification changes only; the module was already newly named. | Barry Warsaw | 1996-12-18 | 1 | -32/+37 |
| | |||||
* | Correct typo -- repeat implements *, not +. | Guido van Rossum | 1996-12-05 | 1 | -1/+1 |
| | |||||
* | Get rid of unused local variable. | Guido van Rossum | 1996-08-21 | 1 | -1/+1 |
| | |||||
* | Added delslice and delitem. | Guido van Rossum | 1996-08-21 | 1 | -32/+47 |
| | | | | | | Renamed and, or to and_, or_. Renamed all internal identifiers so as not to start with '__' (which is a compiler privilege); remove AIX hack. | ||||
* | Made it palatable for K&R preprocessors. The spam macros don't have | Guido van Rossum | 1996-08-19 | 1 | -46/+53 |
| | | | | | to work as hard (but "stringizing" is still used, so we test the newly introduced HAVE_OLD_CPP config define). | ||||
* | Added hack to get it to compile on AIX. | Guido van Rossum | 1996-08-08 | 1 | -0/+5 |
| | |||||
* | Operators like __add__ | Guido van Rossum | 1996-07-30 | 1 | -0/+242 |