Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move UserList to collections. | Raymond Hettinger | 2008-02-12 | 1 | -73/+0 |
| | |||||
* | No need to register classes that already inherit from ABCs. | Raymond Hettinger | 2008-02-11 | 1 | -2/+0 |
| | |||||
* | Let the world know that UserList is a MutableSequence. | Raymond Hettinger | 2008-02-06 | 1 | -1/+5 |
| | |||||
* | Remove the simple slicing API. All slicing is now done with slice objects. | Thomas Wouters | 2007-08-30 | 1 | -14/+0 |
| | |||||
* | Guido grants a Christmas wish: | Raymond Hettinger | 2003-12-17 | 1 | -5/+0 |
| | | | | sorted() becomes a regular function instead of a classmethod. | ||||
* | Add list.sorted() classmethod. | Raymond Hettinger | 2003-10-29 | 1 | -0/+5 |
| | |||||
* | Let library modules use the new keyword arguments for list.sort(). | Raymond Hettinger | 2003-10-16 | 1 | -1/+1 |
| | |||||
* | SF #754014: list.index() should accept optional start, end arguments | Raymond Hettinger | 2003-06-17 | 1 | -1/+1 |
| | | | | Also, modified UserList.index() to match and expanded the related tests. | ||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -1/+1 |
| | |||||
* | Patch #424475: Speed-up tp_compare usage, by special-casing the common | Martin v. Löwis | 2001-06-09 | 1 | -1/+1 |
| | | | | | | case of objects with equal types which support tp_compare. Give type objects a tp_compare function. Also add c<0 tests before a few PyErr_Occurred tests. | ||||
* | removed __all__ from several modules | Skip Montanaro | 2001-02-18 | 1 | -2/+0 |
| | |||||
* | added __all__ lists to a number of Python modules | Skip Montanaro | 2001-01-20 | 1 | -0/+2 |
| | | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation. | ||||
* | Bite the bullet: use rich comparisons here, too. | Guido van Rossum | 2001-01-18 | 1 | -4/+10 |
| | |||||
* | __getslice__(): Make this use the constructor form that gets a sequence | Fred Drake | 2000-10-06 | 1 | -3/+1 |
| | | | | | | | | | | as a parameter; this was the only use of the base constructor or surgical alteration of another object's data attribute. This change simplifies the constructor requirements for subclasses. This relates to SourceForge bug #115928. | ||||
* | SF patch 101391: implemented UserList.__contains__. | Tim Peters | 2000-09-19 | 1 | -0/+1 |
| | |||||
* | Support for augmented assignment in the UserList, UserDict, UserString and | Thomas Wouters | 2000-08-24 | 1 | -0/+11 |
| | | | | | | rfc822 (Addresslist) modules. Also a preliminary testcase for augmented assignment, which should actually be merged with the test_class testcase I added last week. | ||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 1 | -1/+1 |
| | | | | | | | | | | 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 ;) | ||||
* | robustify UserList constructor -- will now accept any sequence | Jeremy Hylton | 2000-03-31 | 1 | -5/+8 |
| | | | | add test cases for non-UserList class, tuple, & string | ||||
* | Mass patch by Ka-Ping Yee: | Guido van Rossum | 2000-02-02 | 1 | -1/+1 |
| | | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old). | ||||
* | Use isinstance() where appropriate. | Guido van Rossum | 1999-03-26 | 1 | -49/+63 |
| | | | | Reformatted with 4-space indent. | ||||
* | Add extend() method. A small New Year's present from Jean-Claude Wippler. | Guido van Rossum | 1999-01-06 | 1 | -0/+1 |
| | |||||
* | In __getslice__, use self.__class__ instead of UserList. | Guido van Rossum | 1998-12-09 | 1 | -1/+1 |
| | |||||
* | Add pop method. | Guido van Rossum | 1998-06-30 | 1 | -0/+1 |
| | |||||
* | added * and + operators | Guido van Rossum | 1996-05-28 | 1 | -0/+13 |
| | |||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 1 | -4/+2 |
| | |||||
* | * test_*.py: new lambda syntax (also affects tests for filter, map, | Guido van Rossum | 1993-11-30 | 1 | -0/+39 |
reduce) * ftplib.py: added default callback for retrlines; added dir() method * ftplib.py: don't return self in self.connect(); added hack so that if 'CDUP' is not understood, 'CWD ..' is tried. * ftplib.py: second method called init() should have been called connect(); if __init__ sees more than one argument, it will also try to login(). |