History log of /external/python/cpython2/Lib/UserList.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48361f5cbf419cce361fd1aa0389d6304ad167db 11-Aug-2008 Nick Coghlan <ncoghlan@gmail.com> Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
/external/python/cpython2/Lib/UserList.py
31f6bc018bacbb682b3a55d85667ca8c767a482b 11-Feb-2008 Raymond Hettinger <python@rcn.com> No need to register classes that already inherit from ABCs.
/external/python/cpython2/Lib/UserList.py
882a416900ab24d78f398809d1b1a4a119db91e6 07-Feb-2008 Raymond Hettinger <python@rcn.com> Merge r60628, r60631, and r60633. Register UserList and UserString will the appropriate ABCs.
/external/python/cpython2/Lib/UserList.py
64958a15d7c03efdc3d2eddf247666e18d1fd910 17-Dec-2003 Raymond Hettinger <python@rcn.com> Guido grants a Christmas wish:
sorted() becomes a regular function instead of a classmethod.
/external/python/cpython2/Lib/UserList.py
0a9b9da0c39eb74075cc93f7d7bd3b5dbcc25320 29-Oct-2003 Raymond Hettinger <python@rcn.com> Add list.sorted() classmethod.
/external/python/cpython2/Lib/UserList.py
6b59f5f3fd9bdf00875a7cead15f423fa1c2f910 16-Oct-2003 Raymond Hettinger <python@rcn.com> Let library modules use the new keyword arguments for list.sort().
/external/python/cpython2/Lib/UserList.py
d05abdec7b2620449369bb44a617684463ba50ac 17-Jun-2003 Raymond Hettinger <python@rcn.com> SF #754014: list.index() should accept optional start, end arguments

Also, modified UserList.index() to match and expanded the related tests.
/external/python/cpython2/Lib/UserList.py
68468eba635570400f607e140425a222018e56f9 27-Feb-2003 Guido van Rossum <guido@python.org> Get rid of many apply() calls.
/external/python/cpython2/Lib/UserList.py
0163d6d6ef85dd0cd0ea4ea6dce4b867e39cd6b9 09-Jun-2001 Martin v. Löwis <martin@v.loewis.de> Patch #424475: Speed-up tp_compare usage, by special-casing the common
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.
/external/python/cpython2/Lib/UserList.py
78349072f7c8f2d3da6f552665f9f381930c3c42 18-Feb-2001 Skip Montanaro <skip@pobox.com> removed __all__ from several modules
/external/python/cpython2/Lib/UserList.py
e99d5ea25ba994491c773d9b5872332334ccd1c5 20-Jan-2001 Skip Montanaro <skip@pobox.com> added __all__ lists to a number of Python modules
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.
/external/python/cpython2/Lib/UserList.py
753a68e2cc671a525c02e4cd6d60412704275f3e 18-Jan-2001 Guido van Rossum <guido@python.org> Bite the bullet: use rich comparisons here, too.
/external/python/cpython2/Lib/UserList.py
cc773d3b11967b36684b0681e54ed6388bf7370c 06-Oct-2000 Fred Drake <fdrake@acm.org> __getslice__(): Make this use the constructor form that gets a sequence
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.
/external/python/cpython2/Lib/UserList.py
7b393fc0379d901da657e8fb870171cca71f94f4 19-Sep-2000 Tim Peters <tim.peters@gmail.com> SF patch 101391: implemented UserList.__contains__.
/external/python/cpython2/Lib/UserList.py
104a7bcc28f96c6192815e82971d660c9910c16b 24-Aug-2000 Thomas Wouters <thomas@python.org> Support for augmented assignment in the UserList, UserDict, UserString and
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented
assignment, which should actually be merged with the test_class testcase I
added last week.
/external/python/cpython2/Lib/UserList.py
7e47402264cf87b9bbb61fc9ff610af08add7c7b 16-Jul-2000 Thomas Wouters <thomas@python.org> Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
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 ;)
/external/python/cpython2/Lib/UserList.py
6a973c711823f64d0362d0ba4b25ead4162df357 31-Mar-2000 Jeremy Hylton <jeremy@alum.mit.edu> robustify UserList constructor -- will now accept any sequence
add test cases for non-UserList class, tuple, & string
/external/python/cpython2/Lib/UserList.py
4acc25bd392216c4f867a10ca8081e7c8a739676 02-Feb-2000 Guido van Rossum <guido@python.org> Mass patch by Ka-Ping Yee:

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).
/external/python/cpython2/Lib/UserList.py
2a340b38894e6c55dd0feb2b967d1e3c0dcda174 26-Mar-1999 Guido van Rossum <guido@python.org> Use isinstance() where appropriate.
Reformatted with 4-space indent.
/external/python/cpython2/Lib/UserList.py
638d7f14f8482ec96e232e4c7394b1124afefe05 06-Jan-1999 Guido van Rossum <guido@python.org> Add extend() method. A small New Year's present from Jean-Claude Wippler.
/external/python/cpython2/Lib/UserList.py
f8b3b944aa748be7689109c353e990e8a25c684f 09-Dec-1998 Guido van Rossum <guido@python.org> In __getslice__, use self.__class__ instead of UserList.
/external/python/cpython2/Lib/UserList.py
bf0db032cd37669e8ccaba0005ab69ffb991e31c 30-Jun-1998 Guido van Rossum <guido@python.org> Add pop method.
/external/python/cpython2/Lib/UserList.py
ce84920e0c1e0b496b8984b0207dce7c8201d02f 29-May-1996 Guido van Rossum <guido@python.org> added * and + operators
/external/python/cpython2/Lib/UserList.py
b6775db241f5fe5e3dc2ca09fc6c9e6164d4b2af 01-Aug-1994 Guido van Rossum <guido@python.org> Merge alpha100 branch back to main trunk
/external/python/cpython2/Lib/UserList.py
ae3b3a33d85134b51505b3f0f3fdaf6afbffa79b 30-Nov-1993 Guido van Rossum <guido@python.org> * test_*.py: new lambda syntax (also affects tests for filter, map,
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().
/external/python/cpython2/Lib/UserList.py