History log of /external/python/cpython2/Lib/UserString.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
53663a695ef2bb96ac0252cd4cc4aa40d4f953be 15-Jul-2008 Nick Coghlan <ncoghlan@gmail.com> Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful
/external/python/cpython2/Lib/UserString.py
abb34fe9f3e9a1d4fe2bedee315e360fbf0b2ce5 29-May-2008 Brett Cannon <bcannon@gmail.com> UserString.MutableString has been removed in Python 3.0.

Works on issue #2877. Thanks Quentin Gallet-Gilles for the patch.
/external/python/cpython2/Lib/UserString.py
36316e37d57ee871a642e760a4d4566b54db78ae 14-Feb-2008 Raymond Hettinger <python@rcn.com> No need to register subclass of ABCs.
/external/python/cpython2/Lib/UserString.py
31f6bc018bacbb682b3a55d85667ca8c767a482b 11-Feb-2008 Raymond Hettinger <python@rcn.com> No need to register classes that already inherit from ABCs.
/external/python/cpython2/Lib/UserString.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/UserString.py
3ccec68a05abae43cf74dc7821c61ba88ab6cb46 28-Aug-2007 Thomas Wouters <thomas@python.org> Improve extended slicing support in builtin types and classes. Specifically:

- Specialcase extended slices that amount to a shallow copy the same way as
is done for simple slices, in the tuple, string and unicode case.

- Specialcase step-1 extended slices to optimize the common case for all
involved types.

- For lists, allow extended slice assignment of differing lengths as long
as the step is 1. (Previously, 'l[:2:1] = []' failed even though
'l[:2] = []' and 'l[:2:None] = []' do not.)

- Implement extended slicing for buffer, array, structseq, mmap and
UserString.UserString.

- Implement slice-object support (but not non-step-1 slice assignment) for
UserString.MutableString.

- Add tests for all new functionality.
/external/python/cpython2/Lib/UserString.py
418b97eac1bd97c26a02df7a9118a9d08569c46c 12-Jun-2006 Neal Norwitz <nnorwitz@gmail.com> Cleanup: Remove import of types to get StringTypes, we can just use basestring.
/external/python/cpython2/Lib/UserString.py
a26de2a80fce5070155b3facb126c176988f4513 26-May-2006 Fredrik Lundh <fredrik@pythonware.com> added rpartition method to UserString class
/external/python/cpython2/Lib/UserString.py
a172c32c05b304c7a346408b2e557cd05f9b8393 26-May-2006 Georg Brandl <georg@python.org> Add "partition" to UserString.
/external/python/cpython2/Lib/UserString.py
eba28bea9b8ef7df010e65c630b8c0f7009c6005 28-Mar-2005 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/UserString.py
af3b39a1823d57eca4034ce6879ab926f175595e 18-Feb-2005 Walter Dörwald <walter@livinglogic.de> Add support for negative indices in UserString.MutableString.__setitem__
and UserString.MutableString.__delitem__.
/external/python/cpython2/Lib/UserString.py
4189c643f8a631ec309ecf9cde79cf0ff2824a26 04-Aug-2004 Hye-Shik Chang <hyeshik@gmail.com> Remove .width() and .iswide() from UserString as well.
/external/python/cpython2/Lib/UserString.py
6838c557faaffc9fb54091dd3fa8e37ca70ab069 04-Jun-2004 Hye-Shik Chang <hyeshik@gmail.com> Add comments for unicode-only methods to give hints on AttributeError
tracebacks. (Suggested by Walter Dörwald)
/external/python/cpython2/Lib/UserString.py
5f5125997beba34f79faa0751c6fa1fa74d97ae2 04-Jun-2004 Hye-Shik Chang <hyeshik@gmail.com> Add iswide() and width() method for UserString according as the
addition to unicode objects.
/external/python/cpython2/Lib/UserString.py
eebb641f236823d45d356aa5834dc453927acf8d 15-Dec-2003 Hye-Shik Chang <hyeshik@gmail.com> Add rsplit method for UserString, too.
(Spotted by Raymond Hettinger)
/external/python/cpython2/Lib/UserString.py
4f8f9765766a126ebfff3c81655454821f1ad532 26-Nov-2003 Raymond Hettinger <python@rcn.com> Add optional fillchar argument to ljust(), rjust(), and center() string methods.
/external/python/cpython2/Lib/UserString.py
611dbc338e957df79c85c527f2508d3bf17e179a 27-Aug-2003 Thomas Heller <theller@ctypes.org> Remove a typo. (Or is this some markup I don't understand? ;-)
/external/python/cpython2/Lib/UserString.py
ffe33b7f2416132d2e5b64683dbcc2aaf0596937 11-Apr-2003 Neal Norwitz <nnorwitz@gmail.com> Attempt to make all the various string *strip methods the same.
* Doc - add doc for when functions were added
* UserString
* string object methods
* string module functions
'chars' is used for the last parameter everywhere.

These changes will be backported, since part of the changes
have already been made, but they were inconsistent.
/external/python/cpython2/Lib/UserString.py
fe4f769fb88b11ccb37e1007d0213adf3ac738b3 18-Nov-2002 Neil Schemenauer <nascheme@enme.ucalgary.ca> Add __mod__ method to UserString.
/external/python/cpython2/Lib/UserString.py
c35491ee3a0f3999791de83e65ef94994058ac5e 09-Aug-2002 Raymond Hettinger <python@rcn.com> Moved inplace add and multiply methods from UserString to MutableString.
Closes SF Bug #592573 where inplace add mutated a UserString.
Added unittests to verify the bug is cleared.
/external/python/cpython2/Lib/UserString.py
408b6d34de2b1a6ba690557def435adce9314184 31-Jul-2002 Barry Warsaw <barry@python.org> Complete the absolute import patch for the test suite. All relative
imports of test modules now import from the test package. Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.). Also did a general
code cleanup to remove all "from test.test_support import *"'s. Other
from...import *'s weren't changed.
/external/python/cpython2/Lib/UserString.py
f2072771674dcb71b03bd49e4c387d7986b13ca5 20-May-2002 Michael W. Hudson <mwh@python.net> More --disable-unicode stuff.

I'm getting better at vi!
/external/python/cpython2/Lib/UserString.py
068325ef926538a30d7feb13f9b14a6163e24b6e 15-Apr-2002 Walter Dörwald <walter@livinglogic.de> Apply the second version of SF patch http://www.python.org/sf/536241

Add a method zfill to str, unicode and UserString and change
Lib/string.py accordingly.

This activates the zfill version in unicodeobject.c that was
commented out and implements the same in stringobject.c. It also
adds the test for unicode support in Lib/string.py back in and
uses repr() instead() of str() (as it was before Lib/string.py 1.62)
/external/python/cpython2/Lib/UserString.py
018b0eb0f50a6995922402d87cf9906b62a50252 13-Apr-2002 Guido van Rossum <guido@python.org> Partially implement SF feature request 444708.

Add optional arg to string methods strip(), lstrip(), rstrip().
The optional arg specifies characters to delete.

Also for UserString.

Still to do:

- Misc/NEWS
- LaTeX docs (I did the docstrings though)
- Unicode methods, and Unicode support in the string methods.
/external/python/cpython2/Lib/UserString.py
2d9204199fe8913cca9890f1822413d981587ee5 15-May-2001 Marc-André Lemburg <mal@egenix.com> This patch changes the way the string .encode() method works slightly
and introduces a new method .decode().

The major change is that strg.encode() will no longer try to convert
Unicode returns from the codec into a string, but instead pass along
the Unicode object as-is. The same is now true for all other codec
return types. The underlying C APIs were changed accordingly.

Note that even though this does have the potential of breaking
existing code, the chances are low since conversion from Unicode
previously took place using the default encoding which is normally
set to ASCII rendering this auto-conversion mechanism useless for
most Unicode encodings.

The good news is that you can now use .encode() and .decode() with
much greater ease and that the door was opened for better accessibility
of the builtin codecs.

As demonstration of the new feature, the patch includes a few new
codecs which allow string to string encoding and decoding (rot13,
hex, zip, uu, base64).

Written by Marc-Andre Lemburg. Copyright assigned to the PSF.
/external/python/cpython2/Lib/UserString.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/UserString.py
e119006e7dc0df0a5ff6b60764b2ce3cd9477688 15-Jan-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization. Top level of Lib now fixed-point for reindent.py!
/external/python/cpython2/Lib/UserString.py
add8d8632528d104a3a1e653ec815ed2e2c75b7a 25-Oct-2000 Guido van Rossum <guido@python.org> Fix two typos in __imul__. Closes Bug #117745.
/external/python/cpython2/Lib/UserString.py
fa12e13ae7e5a95f83e4880f518f32f083bdd010 24-Aug-2000 Peter Schneider-Kamp <nowonder@nowonder.de> simple typo that makes regression test test_userstring fail
/external/python/cpython2/Lib/UserString.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/UserString.py
a893957c8e0a514bc62f6ea7fe91a0ecf073fe83 21-Aug-2000 Fred Drake <fdrake@acm.org> Denis S. Otkidach <den@analyt.chem.msu.ru>:
Let UserString.translate() method work with unicode data.

This closes SourceForge patch #101246.
/external/python/cpython2/Lib/UserString.py
fd54757336de0d3494e38228acfd0c1d1b9db1b8 10-Jul-2000 Jeremy Hylton <jeremy@alum.mit.edu> add isalpha and isalnum methods
/external/python/cpython2/Lib/UserString.py
86662914be20e1f008132647a82cdeb9506f13c5 11-Apr-2000 Guido van Rossum <guido@python.org> Marc-Andre Lemburg:

The maxsplit functionality in .splitlines() was replaced by the keepends
functionality which allows keeping the line end markers together
with the string.
/external/python/cpython2/Lib/UserString.py
a22b576d05d7f7b8f70341268a46c219a3fd6a9c 03-Apr-2000 Fred Drake <fdrake@acm.org> UserString class from Peter Funk <pf@artcom-gmbh.de>.
/external/python/cpython2/Lib/UserString.py