Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #1506171: added operator.methodcaller(). | Georg Brandl | 2008-02-23 | 1 | -0/+18 |
| | |||||
* | #1826: allow dotted attribute paths in operator.attrgetter. | Georg Brandl | 2008-02-23 | 1 | -0/+20 |
| | |||||
* | #1876: fix typos in test_operator. | Georg Brandl | 2008-01-20 | 1 | -4/+4 |
| | |||||
* | Patch #1654417: make operator.{get,set,del}slice use the full range | Georg Brandl | 2007-03-06 | 1 | -0/+6 |
| | | | | of Py_ssize_t. | ||||
* | Bug #1575169: operator.isSequenceType() now returns False for subclasses of ↵ | Raymond Hettinger | 2007-02-07 | 1 | -0/+2 |
| | | | | dict. | ||||
* | adding in-place operators to the operator module. | Armin Rigo | 2005-12-29 | 1 | -0/+47 |
| | |||||
* | SF patch #1390657: | Armin Rigo | 2005-12-29 | 1 | -0/+40 |
| | | | | | | | | | | | | | | | | | * set sq_repeat and sq_concat to NULL for user-defined new-style classes, as a way to fix a number of related problems. See test_descr.notimplemented()). One of these problems was fixed in r25556 and r25557 but many more existed; this is a general fix and thus reverts r25556-r25557. * to avoid having PySequence_Repeat()/PySequence_Concat() failing on user-defined classes, they now fall back to nb_add/nb_mul if sq_concat/sq_repeat are not defined and the arguments appear to be sequences. * added tests. Backport candidate. | ||||
* | operator.itemgetter() and operator.attrgetter() now support extraction | Raymond Hettinger | 2005-03-09 | 1 | -5/+31 |
| | | | | | of multiple fields. This provides direct support for sorting by multiple keys. | ||||
* | Add error checks for the bz2, cStringIO and operator modules. | Walter Dörwald | 2004-11-01 | 1 | -0/+95 |
| | | | | Add function names to various PyArg_ParseTuple calls in bz2module.c. | ||||
* | Guido grants a Christmas wish: | Raymond Hettinger | 2003-12-17 | 1 | -1/+1 |
| | | | | sorted() becomes a regular function instead of a classmethod. | ||||
* | As discussed on python-dev, added two extractor functions to the | Raymond Hettinger | 2003-12-01 | 1 | -0/+39 |
| | | | | operator module. | ||||
* | SF patch #670423: Add missing identity tests to operator.c | Raymond Hettinger | 2003-01-18 | 1 | -0/+11 |
| | |||||
* | Added __pow__(a,b) to the operator module. Completes the pattern of | Raymond Hettinger | 2002-08-19 | 1 | -0/+6 |
| | | | | | | all operators having a counterpart in the operator module. Closes SF bug #577513. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | Change the PyUnit-based tests to use the test_main() approach. This | Fred Drake | 2001-09-20 | 1 | -1/+6 |
| | | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves. | ||||
* | The first batch of changes recommended by the fixdiv tool. These are | Guido van Rossum | 2001-09-04 | 1 | -1/+1 |
| | | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended. | ||||
* | Added tests for rich comparison operator functions. | Fred Drake | 2001-08-11 | 1 | -78/+212 |
| | | | | Converted tests to PyUnit. | ||||
* | Added tests for operator.floordiv() and operator.truediv(). | Fred Drake | 2001-08-09 | 1 | -0/+2 |
| | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -5/+5 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -3/+3 |
| | |||||
* | test_rotor.py: New test of the rotor module. | Barry Warsaw | 1996-12-23 | 1 | -0/+1 |
| | | | | | | | test_*: converted to the new test harness. GvR note! test_signal.py works interatively (i.e. when verbose=1) but does not work inside the test harness. It must be a timing issue, but I haven't figured it out yet. | ||||
* | Test of the operator module | Barry Warsaw | 1996-12-18 | 1 | -0/+76 |