51 Commits (ff337ccd4bf9b6edea5aa25ea72f7d4c02a3bf47)

Author SHA1 Message Date
Georg Brandl 74bbc79d10 Replace all map(None, a) with list(a). 18 years ago
Brett Cannon 6071cc8fb0 Deprecate stringold for removal in 3.0. 18 years ago
Raymond Hettinger 57aef9cb29 Remove outdated references to the regsub module. 21 years ago
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r" 22 years ago
Tim Peters 6b6b39e8b6 Nuke accurate but confusing and unhelpful comments about split vs splitfields. 25 years ago
Eric S. Raymond e37340edf2 String method conversion. 25 years ago
Thomas Wouters 7e47402264 Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 26 years ago
Fred Drake 13a2c279c5 Untabify to pass the -tt test. 26 years ago
Barry Warsaw 226ae6ca12 Mainlining the string_methods branch. See branch revision log 27 years ago
Guido van Rossum 9a34523e19 As Tim Peters points out, ``from string import *'' should not set re to None. 28 years ago
Guido van Rossum a6bb6be95f Strip argument to atol and atof to match what strop does better. 28 years ago
Guido van Rossum 8ca842066c A few lines were indented using spaces instead of tabs -- fix them. 28 years ago
Guido van Rossum 23e21e7cf3 Minor editing corrections. 28 years ago
Guido van Rossum 2003204ba7 Added doc string, provided by Charles Waldman (with some reformatting 28 years ago
Guido van Rossum d0753e20b2 At Barry's suggestion, plug the security leak by using an empty 29 years ago
Guido van Rossum 90d62ab0a1 Since this module is used as a fallback in case no built-in modules 29 years ago
Guido van Rossum 06ba34c5d4 In string.split(), honor maxsplit (if > 0). 29 years ago
Guido van Rossum 9694fcab53 Convert all remaining *simple* cases of regex usage to re usage. 29 years ago
Guido van Rossum 1510565cb5 Add optional 4th argument to count(), matching find() etc. 29 years ago
Guido van Rossum 21aa0ef351 Changed my mind on replace(). 29 years ago
Guido van Rossum 1eb9a81eb9 Added new functions replace() and replace1(). 29 years ago
Guido van Rossum 7b7c578616 Add optional 4th argument to [r]find and [r]index (end of slice). 29 years ago
Guido van Rossum f480c674b1 Use correct separator for capwords(s, sep). 30 years ago
Guido van Rossum 34f173110f Add optional separator character to capwords(), for completeness. 30 years ago
Guido van Rossum 306a8a6338 Add optional third parameter to split() and splitfields(), giving the 30 years ago
Guido van Rossum ed7253ca50 Added 3rd optional argument to translate(), a string of characters to delete. 30 years ago
Guido van Rossum 8775d8b9dc Added capitalize() and capwords(). 30 years ago
Guido van Rossum 2539528810 add translate() -- which was in strop per release 1.3 30 years ago
Guido van Rossum 894a7bb995 default tabsize to 8 31 years ago
Guido van Rossum 2ab19920fc make split and splitfields, join and joinfields synonyms 31 years ago
Guido van Rossum 8c1688e132 add dummy base to atoi/atol; careful about negative start indices in find/count 31 years ago
Guido van Rossum 710c352d05 * Lib/string.py: find/rfind is now the main implementation and 32 years ago
Guido van Rossum b6775db241 Merge alpha100 branch back to main trunk 32 years ago
Guido van Rossum e65cce5eec * string.py: added rindex(), rfind(); changed index() to interpret 33 years ago
Guido van Rossum e61fa0a1e4 * profile.py, pdb.py: added help() function 33 years ago
Guido van Rossum 8e2ec56cbc * pdb.py: set 'privileged' property when evaluating expressions 33 years ago
Guido van Rossum d316607732 * ftplib.py: added abort() command (sends oob data). 33 years ago
Guido van Rossum e7113b6b3d * Fix bug in tzparse.py for DST timezone 33 years ago
Guido van Rossum 18fc5696c8 * mainloop.py: added facility for calling select(). Also added 34 years ago
Guido van Rossum c629d34c4f * change default line numbers for 'list' in pdb.py 34 years ago
Guido van Rossum 2db91358de Misc changes and new modules. whrandom is "objectified". SOCKET.py 34 years ago
Guido van Rossum 7a461e5aaf New module regsub contains sub(), gsub() and split() as in nawk. 34 years ago
Guido van Rossum ae507a42a0 splitfields(s, '') is illegal 34 years ago
Guido van Rossum 2d4aa4f5d4 Removed *.libs (now in ./sgi); 34 years ago
Guido van Rossum 6ff2e90c51 Add function to expand tabs. 34 years ago
Guido van Rossum a61ff7b160 New implementation method for case conversion. 35 years ago
Guido van Rossum bdfcfccbe5 New == syntax 35 years ago
Guido van Rossum 333c2e02d0 A plus is also a sign! 35 years ago
Guido van Rossum fac38b7c40 Added join() and joinfields() functions. 35 years ago
Guido van Rossum 66a07c07a5 Fix bugf in index -- last char would not be checked. 36 years ago